Example (get uptime information on a *NIX system)
$p= new Process('uptime');
$uptime= $p->out->readLine();
$p->close();
var_dump($uptime);