Skip to content

Commit

Permalink
add escape brackets to command-line commands (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmims authored Oct 1, 2024
1 parent e1a590e commit 9024e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/environment_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def validate_commands(self):
' -b '.join([''] + reqs.get('ncl', [])),
' -c '.join([''] + reqs.get('Rscript', []))
]
return [''.join(command)]
return [''.join(command).replace('(','\(').replace(')','\)')]

def runtime_exception_handler(self, exc):
"""Handler which is called if an exception is raised during the POD's
Expand Down

0 comments on commit 9024e81

Please sign in to comment.