diff --git a/jarvis_util/shell/pbs_exec.py b/jarvis_util/shell/pbs_exec.py index b79d08d..d4fce2e 100644 --- a/jarvis_util/shell/pbs_exec.py +++ b/jarvis_util/shell/pbs_exec.py @@ -75,7 +75,7 @@ def generate_qsub_command(self): if value is not None: cmd += f' -{option} {value}' - cmd += f' -- {self.cmd}' + cmd += f' -- \"{self.cmd}\"' return cmd def pbscmd(self):