escapeshellarg($argument), $arguments, ); $command = './vendor/bin/pest'; if ($escapedArgs !== []) { $command .= ' ' . implode(' ', $escapedArgs); } passthru($command, $exitCode); exit($exitCode);