| Home | Trees | Index | Help |
|---|
| Package tp :: Package client :: Module subprocess :: Class Popen |
|
object --+
|
Popen
Popen| Method Summary | |
|---|---|
Create new Popen instance. | |
__del__(self,
sys)
| |
Interact with process: Send data to stdin. | |
Kill the process with SIGKILL... | |
poll(self)
| |
Send a signal to the process... | |
Terminate the process with SIGTERM... | |
Wait for child process to terminate. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Method Details |
|---|
__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)
|
communicate(self, input=None)Interact with process: Send data to stdin. Read data from stdout and stderr, until end-of-file is reached. Wait for process to terminate. The optional input argument should be a string to be sent to the child process, or None, if no data should be sent to the child. communicate() returns a tuple (stdout, stderr). |
kill(self)Kill the process with SIGKILL |
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. Returns returncode attribute. |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Fri Jan 1 08:00:27 2010 | http://epydoc.sf.net |