Re: [PHP] php & xvfb gives xauth command not found

2003-09-29 Thread Ray Hunter
> $test=exec("/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile" ); Actually, I think that you can just run the command without the xvfb-run command... $test = exec("/usr/bin/njplot -psonly testfile" ); that should just create the testfile.ps file and not fire up a x-window. The error with the

Re: [PHP] php & xvfb gives xauth command not found

2003-09-29 Thread Ray Hunter
> $test=exec("/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile 2>&1"); > echo $test; Try $test=exec("/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile" ); -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php & xvfb gives xauth command not found

2003-09-29 Thread Daniel Struck
Hello, I am using the program "njplot" in a script, an unfortunately it reqires a minimal X environment. So I am executing this programm by: $test=exec("/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile 2>&1"); echo $test; As a result I get: "xvfb-run: xauth command not found; exiting." The