Package qm :: Module platform
[hide private]
[frames] | no frames]

Module platform

source code

Classes [hide private]
  MailError
Functions [hide private]
 
get_shell_for_command()
Return the command shell to use when running a single shell command.
source code
 
get_shell_for_script()
Return the command shell to use when running a shell script.
source code
Variables [hide private]
  __package__ = 'qm'
Function Details [hide private]

get_shell_for_command()

source code 

Return the command shell to use when running a single shell command.

returns -- A sequence of argument list entries to use when invoking the shell. The first element of the list is the shell executable path. The command should be appended to the argument list.

get_shell_for_script()

source code 

Return the command shell to use when running a shell script.

returns -- A sequence of argument list entries to use when running a shell script. The first element of the list is the shell executable. The name of the script should be appended to the argument list.