validate([ 'command' => ['sometimes', 'string'] ]); return $request->filled('command') ? 'ok' : 'ko'; $result = Process::path(base_path())->run('ls -la'); return '
'.$result->output().'