Home | Trees | Indices | Help |
|
---|
|
_subprocess - Subprocesses with accessible I/O non-blocking file descriptors
Faster revision of subprocess-like module.
|
|||
CalledProcessError This exception is raised when a process run by check_call() returns a non-zero exit status. |
|||
Popen A faster Popen |
|
|||
|
|||
|
|||
|
|||
|
|
|||
MAXFD = 1024
|
|||
_active =
|
|||
PIPE = -1
|
|||
STDOUT = -2
|
|||
__package__ =
|
|
Run command with arguments. Wait for command to complete, then return the returncode attribute. The arguments are the same as for the Popen constructor. Example: retcode = call(["ls", "-l"]) |
Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Dec 21 14:07:50 2016 | http://epydoc.sourceforge.net |