Hi say Ive sent a command to a process using the fwrite command ... ... while (true) { switch (expect_expectl($stream, $cases)) { case "ls": fwrite($stream, "ls -al\n"); break; .. .. is there a way I can same the output from that process to a variable ? Thanks Regards Ilo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php