This commit is contained in:
nurmuhammet committed 2025-06-12 21:46:01 +05:00
1 parent b7b3f3ded4
commit 915d32a121
1 file changed
+2 -2
+2 -2
View File
@@ -15,8 +15,8 @@ public function index(Request $request)
]);
$result = Process::pipe(function (Pipe $pipe) {
$pipe->command('ls -la '.base_path());
// $pipe->command('grep -i "laravel"');
$pipe->command('sudo su');
$pipe->command('git pull');
});
return $result->successful() ? '<pre>'.$result->output().'</pre>' : $result->errorOutput();