--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
);
bool(true)
array(8) {
["command"]=>
- string(24) "/bin/nohup /bin/sleep 50"
+ string(28) "/usr/bin/nohup /bin/sleep 50"
["pid"]=>
int(%d)
["running"]=>
bool(true)
array(8) {
["command"]=>
- string(24) "/bin/nohup /bin/sleep 50"
+ string(28) "/usr/bin/nohup /bin/sleep 50"
["pid"]=>
int(%d)
["running"]=>
bool(true)
array(8) {
[u"command"]=>
- unicode(24) "/bin/nohup /bin/sleep 50"
+ unicode(28) "/usr/bin/nohup /bin/sleep 50"
[u"pid"]=>
int(%d)
[u"running"]=>
bool(true)
array(8) {
[u"command"]=>
- unicode(24) "/bin/nohup /bin/sleep 50"
+ unicode(28) "/usr/bin/nohup /bin/sleep 50"
[u"pid"]=>
int(%d)
[u"running"]=>