File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ public function handle()
105105
106106 $ this ->line ('$upgrader> ' . implode (' ' , $ command ));
107107 $ process = new Process ($ command );
108+ $ process ->setTimeout (10 * 60 );
108109 $ process ->run (function ($ type , $ buffer ) {
109110 $ this ->line ($ buffer );
110111 });
@@ -134,7 +135,8 @@ public function handle()
134135
135136 $ this ->withProgress ($ bar , function () use ($ user ) {
136137 $ this ->line ("\$upgrader> chown -R {$ user }: {$ user } * " );
137- $ process = Process::fromShellCommandline ("chown -R {$ user }: {$ user } * " );
138+ $ process = Process::fromShellCommandline ("chown -R {$ user }: {$ user } * " , $ this ->getLaravel ()->basePath ());
139+ $ process ->setTimeout (10 * 60 );
138140 $ process ->run (function ($ type , $ buffer ) {
139141 $ this ->{$ type === Process::ERR ? 'error ' : 'line ' }($ buffer );
140142 });
You can’t perform that action at this time.
0 commit comments