pyre.shells.Fork

Module Contents

class pyre.shells.Fork.Fork

Bases: pyre.shells.Executive.Executive

A shell that invokes the main application behavior in a child process

capture
doc = control whether to create communication channels to the daemon process
launch(self, application, *args, **kwds)

Invoke the {application} behavior in a subprocess and return a pair of channels corresponding to {stdout} and {stderr} of the child, with the write end of the channels both connected to the child’s {stdin}

openCommunicationPipes(self)

Build three pipes for parent/child communication

parentChannels(self, pipes)

Build the parent side of the communication channels

childChannels(self, pipes)

Build the child side of the communication channels