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
Afficher le fichier Open project: videlalvaro/phacterl Class Usage Examples

Méthodes publiques

Méthode Description
handle_neighbors ( $msg, $state )
handle_position ( $msg, $state )
handle_start ( $msg, $state )
init ( $args )
receive ( )
start ( $state )

Method Details

handle_neighbors() public méthode

public handle_neighbors ( $msg, $state )

handle_position() public méthode

public handle_position ( $msg, $state )

handle_start() public méthode

public handle_start ( $msg, $state )

init() public méthode

public init ( $args )

receive() public méthode

public receive ( )

start() public méthode

public start ( $state )