circuits.io.process module¶
Process
This module implements a wrapper for basic subprocess.Popen
functionality.
-
class
circuits.io.process.
Process
(*args, **kwargs)¶ Bases:
circuits.core.components.BaseComponent
initializes x; see x.__class__.__doc__ for signature
-
channel
= 'process'¶
-
init
(args, cwd=None, shell=False)¶
-
kill
()¶
-
signal
(signal)¶
-
start
()¶ Start a new thread or process that invokes this manager’s
run()
method. The invocation of this method returns immediately after the task or process has been started.
-
status
¶
-
stop
()¶ Stop this manager. Invoking this method causes an invocation of
run()
to return.
-
wait
()¶
-
write
(data)¶
-
-
class
circuits.io.process.
terminated
(*args)¶ Bases:
circuits.core.events.Event
terminated Event
This Event is sent when a process is completed
Parameters: args – (process)