> $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

Reply via email to