Merge pull request #2 from hauke68/develop

Develop
This commit is contained in:
Hauke 2020-09-10 13:33:22 +02:00 committed by GitHub
commit 47b0274008
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -13,13 +13,13 @@
], ],
"require": { "require": {
"php": "^7.1.3", "php": "^7.1.3",
"monolog/monolog": "~1.11", "monolog/monolog": "~1.11||^2.0",
"symfony/console": "^4.0||^5.0", "symfony/console": "^5.0",
"symfony/filesystem": "^4.0||^5.0", "symfony/filesystem": "^5.0",
"symfony/event-dispatcher": "^4.0||^5.0", "symfony/event-dispatcher": "^5.0",
"symfony/finder": "^4.0||^5.0", "symfony/finder": "^5.0",
"symfony/yaml": "^4.0||^5.0", "symfony/yaml": "^5.0",
"symfony/process": "^4.0||^5.0" "symfony/process": "^5.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^7.0", "phpunit/phpunit": "^7.0",

View file

@ -405,7 +405,7 @@ class Runtime
{ {
$this->log($cmd, LogLevel::INFO); $this->log($cmd, LogLevel::INFO);
$process = new Process($cmd); $process = Process::fromShellCommandline($cmd);
$process->setTimeout($timeout); $process->setTimeout($timeout);
$process->run(); $process->run();