Staging: this is not the live site, pydocs.org.
Networking and Interprocess Communication
An object that wraps OS processes created by the create_subprocess_exec() and create_subprocess_shell() functions.
Members of subprocess.Process
k
- kill
- Kill the child process.
p
- pid
- Process identification number (PID).
r
- returncode
- Return code of the process when it exits.
s
- send_signal
- Sends the signal signal to the child process.
- stderr
- Standard error stream (StreamReader) or None if the process was created with stderr=None.
- stdin
- Standard input stream (StreamWriter) or None if the process was created with stdin=None.
- stdout
- Standard output stream (StreamReader) or None if the process was created with stdout=None.
w
- wait
- Wait until the process exit and return the process return code.