]> granicus.if.org Git - php/commitdiff
use /usr/bin/nohup instead
authorNuno Lopes <nlopess@php.net>
Wed, 21 Feb 2007 16:25:37 +0000 (16:25 +0000)
committerNuno Lopes <nlopess@php.net>
Wed, 21 Feb 2007 16:25:37 +0000 (16:25 +0000)
ext/standard/tests/general_functions/proc_open02.phpt

index b89c616fe680a6de272568c5d6e54c71b3cf0a40..b086f6f6e1d63f86e65a6e3664628969858b3a1f 100644 (file)
@@ -3,14 +3,14 @@ proc_open
 --SKIPIF--
 <?php
 if (!is_executable('/bin/sleep')) echo 'skip no sleep';
-if (!is_executable('/bin/nohup')) echo 'skip no nohup';
+if (!is_executable('/usr/bin/nohup')) echo 'skip no nohup';
 ?>
 --FILE--
 <?php
 $ds = array(array('pipe', 'r'));
 
 $cat = proc_open(
-       '/bin/nohup /bin/sleep 50',
+       '/usr/bin/nohup /bin/sleep 50',
        $ds,
        $pipes
 );
@@ -32,7 +32,7 @@ echo "Done!\n";
 bool(true)
 array(8) {
   ["command"]=>
-  string(24) "/bin/nohup /bin/sleep 50"
+  string(28) "/usr/bin/nohup /bin/sleep 50"
   ["pid"]=>
   int(%d)
   ["running"]=>
@@ -51,7 +51,7 @@ array(8) {
 bool(true)
 array(8) {
   ["command"]=>
-  string(24) "/bin/nohup /bin/sleep 50"
+  string(28) "/usr/bin/nohup /bin/sleep 50"
   ["pid"]=>
   int(%d)
   ["running"]=>