This commit is contained in:
nurmuhammet committed 2025-06-12 21:56:46 +05:00
1 parent 85e776f18f
commit 4b0a2566a4
2 files changed
+1 -4

No files matched your search

+1 -4
View File
@@ -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();
}
View File
File renamed without changes.