Skip to content

Commit 4b44780

Browse files
committed
Windows: quiet cmd execution
1 parent e595429 commit 4b44780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AsyncTask.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public function start(): void
172172
// basically, in windows, it is too tedioous to check whether we are in cmd or ps,
173173
// but we require cmd (ps won't work here), so might as well force cmd like this
174174
// windows has real max time limit
175-
$this->runnerProcess = Process::quietly()->start("cmd /c start /b $baseCommand");
175+
$this->runnerProcess = Process::quietly()->start("cmd >nul 2>nul /c start /b $baseCommand");
176176
return;
177177
}
178178
// assume anything not windows to be unix

0 commit comments

Comments
 (0)