Skip to content

Commit 0ce98ee

Browse files
authored
Merge pull request #3071 from vkarak/enhancement/quote-reframe-command
[enhancement] Properly quote reframe command in output
2 parents 5b20afc + daf0086 commit 0ce98ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reframe/frontend/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ def print_infoline(param, value):
962962
printer.info(f" {param.ljust(18)} {value}")
963963

964964
session_info = {
965-
'cmdline': ' '.join(sys.argv),
965+
'cmdline': ' '.join(shlex.quote(arg) for arg in sys.argv),
966966
'config_files': rt.site_config.sources,
967967
'data_version': runreport.DATA_VERSION,
968968
'hostname': socket.gethostname(),

0 commit comments

Comments
 (0)