Have you tried it like this?
$output = `$executable $param`;
$output = explode("\n",$output);
print_r($output);
It works for me! I get the same weird response as you when I try to
create the array directly off of the system call.
Good Luck,
Shawn Sellars
-----Original Message-----
Essentially:
$output = array (system("$executable $param"));
print_r($output);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

