system() Question
| From: | Ryan O'Sullivan | Date: | Sun, 28 Dec 2008 19:40:42 +0000 |
| Subject: | system() Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-285160@lists.php.net to get a copy of this message | ||
Hello all,
I am using system to convert some files using a binary in linux. My code
looks like this:
$response = system('gpsbabel -p "" -r -t -i gpx -f "test.gpx" -o kml
-F
"test2.kml"', $retval);
echo "<p>Response: ", $response, "</p><p>Return Value: ",
$retval;
The $retval is returning code 127 - Any ideas on why this?
Thanks!