wip
This commit is contained in:
1 parent
85e776f18f
commit
4b0a2566a4
2 files changed
+1
-4
No files matched your search
@@ -14,10 +14,7 @@ public function index(Request $request)
|
||||
'command' => ['sometimes', 'string'],
|
||||
]);
|
||||
|
||||
$result = Process::pipe(function (Pipe $pipe) {
|
||||
$pipe->command('sudo -S ');
|
||||
// $pipe->command('git pull');
|
||||
});
|
||||
$result = Process::path(base_path())->run('bash ok.sh');
|
||||
|
||||
return $result->successful() ? '<pre>'.$result->output().'</pre>' : $result->errorOutput();
|
||||
}
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user