mirror of
https://github.com/danog/process.git
synced 2024-11-26 20:24:43 +01:00
Fix typo
This commit is contained in:
parent
67f0e56543
commit
ff7d7612bb
@ -26,7 +26,7 @@ Amp\Loop::run(function () {
|
||||
foreach ($hosts as $host) {
|
||||
$command = \DIRECTORY_SEPARATOR === "\\"
|
||||
? "ping -n 5 {$host}"
|
||||
: "ping -c 5 {$host}"
|
||||
: "ping -c 5 {$host}";
|
||||
$process = new Process($command);
|
||||
$process->start();
|
||||
$promises[] = new Amp\Coroutine(show_process_output($process));
|
||||
|
Loading…
Reference in New Issue
Block a user