Skip to content
Snippets Groups Projects
Commit e0ede890 authored by Izzard, Robert Dr (Maths & Physics)'s avatar Izzard, Robert Dr (Maths & Physics)
Browse files

force command_line option to be quoted

parent 5ae7c5af
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ import sys
from binarycpython.utils.custom_logging_functions import temp_dir
from binarycpython.utils.functions import (
command_string_from_list,
now,
)
......@@ -83,7 +84,7 @@ class grid_options_defaults:
#####################
# System information
#####################
"command_line": " ".join(sys.argv),
"command_line": command_string_from_list(sys.argv),
"original_command_line": os.getenv("BINARY_C_PYTHON_ORIGINAL_CMD_LINE"),
"working_diretory": os.getcwd(),
"original_working_diretory": os.getenv("BINARY_C_PYTHON_ORIGINAL_WD"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment