mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 16:50:09 +01:00
Revert new fromShellCommandLine call
This commit is contained in:
@@ -74,7 +74,7 @@ function runCommand($command, callable $onError = null)
|
|||||||
{
|
{
|
||||||
$onError = $onError ?: function () {};
|
$onError = $onError ?: function () {};
|
||||||
|
|
||||||
$process = Process::fromShellCommandline($command);
|
$process = new Process($command);
|
||||||
|
|
||||||
$processOutput = '';
|
$processOutput = '';
|
||||||
$process->setTimeout(null)->run(function ($type, $line) use (&$processOutput) {
|
$process->setTimeout(null)->run(function ($type, $line) use (&$processOutput) {
|
||||||
|
|||||||
Reference in New Issue
Block a user