diff --git a/app/Jobs/RunMdaScript.php b/app/Jobs/RunMdaScript.php index 985d529..63f00f9 100644 --- a/app/Jobs/RunMdaScript.php +++ b/app/Jobs/RunMdaScript.php @@ -65,7 +65,7 @@ public function handle(): void foreach ($filterArray as $filter) { $file = config('storageCfg.mdaConfigFolder').'/'.escapeshellarg($filter).'.xml'; $pipeline = 'main'; - $command = 'sh '.escapeshellarg($realScriptPath).' '.$file.' '.$pipeline; + $command = 'bash '.escapeshellarg($realScriptPath).' '.$file.' '.$pipeline; $output = shell_exec($command); if ($output === false || str_contains($output, 'ERROR') || str_contains($output, 'WARN')) {