File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1625,7 +1625,7 @@ public function testFailingProcessWithMultipleCallsToProcGetStatus()
1625
1625
*/
1626
1626
public function testLongRunningProcessWithMultipleCallsToProcGetStatus ()
1627
1627
{
1628
- $ process = $ this ->getProcess ('php -r "sleep(1); echo \' done \' ;" ' );
1628
+ $ process = $ this ->getProcess ('sleep 1 && echo "done" && php -r "exit(0) ;" ' );
1629
1629
$ process ->start (static function () use ($ process ) {
1630
1630
return $ process ->isRunning ();
1631
1631
});
@@ -1640,7 +1640,7 @@ public function testLongRunningProcessWithMultipleCallsToProcGetStatus()
1640
1640
*/
1641
1641
public function testLongRunningProcessWithMultipleCallsToProcGetStatusError ()
1642
1642
{
1643
- $ process = $ this ->getProcess ('php -r " sleep(1); echo \' failure \' ; exit(123);" ' );
1643
+ $ process = $ this ->getProcess ('sleep 1 && echo " failure" && php -r " exit(123);" ' );
1644
1644
$ process ->start (static function () use ($ process ) {
1645
1645
return $ process ->isRunning ();
1646
1646
});
You can’t perform that action at this time.
0 commit comments