GRASS Programmer's Manual
6.4.2(2012)
|
Public Member Functions | |
def | __init__ |
Create new Popen instance. | |
def | poll |
Check if child process has terminated. | |
def | wait |
Wait for child process to terminate. | |
def | communicate |
Interact with process: Send data to stdin. | |
def | poll |
Check if child process has terminated. | |
def | wait |
Wait for child process to terminate. | |
def | communicate |
Interact with process: Send data to stdin. | |
Data Fields | |
stdin | |
stdout | |
stderr | |
pid | |
returncode | |
universal_newlines |
Definition at line 483 of file subprocess.py.
def compat.subprocess.Popen.__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.
Definition at line 484 of file subprocess.py.
def compat.subprocess.Popen.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).
Definition at line 757 of file subprocess.py.
Referenced by compat.subprocess.Popen.communicate().
def compat.subprocess.Popen.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).
Definition at line 1012 of file subprocess.py.
References compat.subprocess.Popen.communicate().
def compat.subprocess.Popen.poll | ( | self | ) |
Check if child process has terminated.
Returns returncode attribute.
Definition at line 733 of file subprocess.py.
def compat.subprocess.Popen.poll | ( | self | ) |
Check if child process has terminated.
Returns returncode attribute.
Definition at line 990 of file subprocess.py.
def compat.subprocess.Popen.wait | ( | self | ) |
Wait for child process to terminate.
Returns returncode attribute.
Definition at line 743 of file subprocess.py.
def compat.subprocess.Popen.wait | ( | self | ) |
Wait for child process to terminate.
Returns returncode attribute.
Definition at line 1003 of file subprocess.py.
Definition at line 484 of file subprocess.py.
Referenced by gui_modules.gcmd.Popen.kill().
Definition at line 484 of file subprocess.py.
Definition at line 484 of file subprocess.py.
Definition at line 484 of file subprocess.py.
Referenced by gui_modules.gcmd.Popen::send().
Definition at line 484 of file subprocess.py.
Definition at line 484 of file subprocess.py.
Referenced by gui_modules.gcmd.Popen.send().