Staging: this is not the live site, pydocs.org.
Process objects represent activity that is run in a separate process. The Process class has equivalents of all the methods of threading.Thread.
Changed in 3.3
- 3.3: Added the daemon parameter.
Members of Process
a
- authkey
- The process’s authentication key (a byte string).
c
- close
- Close the Process object.
d
- daemon
- Return whether process is a daemon
e
- exitcode
- Return exit code of process or `None` if it has yet to stop
i
- interrupt
- Terminate process; sends SIGINT signal
j
- join
- Wait until child process terminates
k
- kill
- Terminate process; sends SIGKILL signal or uses TerminateProcess()
p
- pid
- Return identifier (PID) of process or `None` if it has yet to start
r
- run
- Method to be run in sub-process; can be overridden in sub-class
s
- sentinel
- Return a file descriptor (Unix) or handle (Windows) suitable for waiting for process termination.
t
- terminate
- Terminate process; sends SIGTERM signal or uses TerminateProcess()