Skip to content

Commit 7f2f542

Browse files
thibaut22200nicolas-grekas
authored andcommitted
Fix ProcessTest - testIgnoringSignal for local
1 parent febf901 commit 7f2f542

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/ProcessTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,7 @@ public function testIgnoringSignal()
16691669
$this->markTestSkipped('pnctl extension is required.');
16701670
}
16711671

1672-
$process = $this->getProcess('sleep 10');
1672+
$process = $this->getProcess(['sleep', '10']);
16731673
$process->setIgnoredSignals([\SIGTERM]);
16741674

16751675
$process->start();
@@ -1685,7 +1685,7 @@ public function testNotIgnoringSignal()
16851685
$this->markTestSkipped('pnctl extension is required.');
16861686
}
16871687

1688-
$process = $this->getProcess('sleep 10');
1688+
$process = $this->getProcess(['sleep', '10']);
16891689

16901690
$process->start();
16911691
$process->stop(timeout: 0.2);

0 commit comments

Comments
 (0)