|
__del__(self,
_maxint=9223372036854775807,
_active=[ ] ) |
|
|
|
__init__(self,
args,
bufsize=0,
executable=None,
stdin=None,
stdout=None,
stderr=None,
preexec_fn=None,
close_fds=False,
shell=False,
cwd=None,
env=None,
universal_newlines=False,
startupinfo=None,
creationflags=0)
Create new Popen instance. |
|
|
|
|
|
_communicate(self,
input) |
|
|
|
_communicate_with_poll(self,
input) |
|
|
|
_communicate_with_select(self,
input) |
|
|
|
_execute_child(self,
args,
executable,
preexec_fn,
close_fds,
cwd,
env,
universal_newlines,
startupinfo,
creationflags,
shell,
p2cread,
p2cwrite,
c2pread,
c2pwrite,
errread,
errwrite)
Execute program (POSIX version) |
|
|
|
_get_handles(self,
stdin,
stdout,
stderr)
Construct and return tuple with IO objects: p2cread, p2cwrite,
c2pread, c2pwrite, errread, errwrite |
|
|
|
_handle_exitstatus(self,
sts,
_WIFSIGNALED=<built-in function WIFSIGNALED>,
_WTERMSIG=<built-in function WTERMSIG>,
_WIFEXITED=<built-in function WIFEXITED>,
_WEXITSTATUS=<built-in function WEXITSTATUS>) |
|
|
|
_internal_poll(self,
_deadstate=None,
_waitpid=<built-in function waitpid>,
_WNOHANG=1,
_os_error=<type 'exceptions.OSError'>)
Check if child process has terminated. |
|
|
|
_set_cloexec_flag(self,
fd,
cloexec=True) |
|
|
|
_translate_newlines(self,
data) |
|
|
|
communicate(self,
input=None)
Interact with process: Send data to stdin. |
|
|
|
kill(self)
Kill the process with SIGKILL |
|
|
|
pipe_cloexec(self)
Create a pipe with FDs set CLOEXEC. |
|
|
|
|
|
send_signal(self,
sig)
Send a signal to the process |
|
|
|
terminate(self)
Terminate the process with SIGTERM |
|
|
|
wait(self)
Wait for child process to terminate. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|