Skip to content

Commit 1052371

Browse files
committed
fix process timeout bug
1 parent c6d804a commit 1052371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jenner/Crontab/Mission.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function run()
241241

242242
$out = $this->out;
243243
$err = $this->err;
244-
$process = new \Symfony\Component\Process\Process($this->cmd);
244+
$process = new \Symfony\Component\Process\Process($this->cmd, null, null, null, null);
245245
$process->run(function ($type, $buffer) use ($out, $err) {
246246
if ($type == \Symfony\Component\Process\Process::ERR) {
247247
$err->error($buffer);

0 commit comments

Comments
 (0)