> $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
> $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
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
3 matches
Mail list logo