circuits.io.process module

Process

This module implements a wrapper for basic subprocess.Popen functionality.

class circuits.io.process.Process(*args, **kwargs)

Bases: BaseComponent

initializes x; see x.__class__.__doc__ for signature

channel = 'process'
init(args, cwd=None, shell=False)
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.

stop()

Stop this manager. Invoking this method causes an invocation of run() to return.

kill()
signal(signal)
wait()
write(data)
property status