Package tp :: Package client :: Module killableprocess :: Class Popen
[show private | hide private]
[frames | no frames]

Type Popen

object --+    
         |    
     Popen --+
             |
            Popen


Method Summary
  __init__(self, *args, **kwargs)
  kill(self, group)
Kill the process.
  wait(self, timeout, group)
Wait for the process to terminate.
    Inherited from Popen
  __del__(self, sys)
  communicate(self, input)
Interact with process: Send data to stdin.
  poll(self)
  send_signal(self, sig)
Send a signal to the process...
  terminate(self)
Terminate the process with SIGTERM...
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...
  __str__(x)
x.__str__() <==> str(x)...

Method Details

kill(self, group=True)

Kill the process. If group=True, all sub-processes will also be killed.
Overrides:
tp.client.subprocess.Popen.kill

wait(self, timeout=-1, group=True)

Wait for the process to terminate. Returns returncode attribute.
If timeout seconds are reached and the process has not terminated,
it will be forcefully killed. If timeout is -1, wait will not
time out.
Overrides:
tp.client.subprocess.Popen.wait

Generated by Epydoc 2.1 on Fri Jan 1 08:00:25 2010 http://epydoc.sf.net