PHP Class Process

Example (get uptime information on a *NIX system) $p= new Process('uptime'); $uptime= $p->out->readLine(); $p->close(); var_dump($uptime);
See also: xp://lang.Runtime#getExecutable
See also: php://proc_open
Inheritance: extends Object
Show file Open project: videlalvaro/phacterl Class Usage Examples

Public Methods

Method Description
handle_neighbors ( $msg, $state )
handle_position ( $msg, $state )
handle_start ( $msg, $state )
init ( $args )
receive ( )
start ( $state )

Method Details

handle_neighbors() public method

public handle_neighbors ( $msg, $state )

handle_position() public method

public handle_position ( $msg, $state )

handle_start() public method

public handle_start ( $msg, $state )

init() public method

public init ( $args )

receive() public method

public receive ( )

start() public method

public start ( $state )