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()
status
stop()
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)