When using subcommand with path to solution's file name, the latter is doubly unquotted with no apparent reason.
E. g. runing
checkio run "src/Electronic Station/ascending_list.py"
or
checkio run src/Electronic\ Station/ascending_list.py
both ended with args.mission == ['src/Electronic'] and args.filename == 'Station/ascending_list.py'
Note both versions are automatically generated by bash/zsh command line Tab completion (with or without leading double quote).
The only way to make it work is to construct one of the natural command line and add extra quotation level like this (with both quotes and backslash) manually:
checkio run "src/Electronic\ Station/ascending_list.py"
I suggest to remove double unquotting mentioned above, and stand with simple call_args = sys.argv[1:]
When using subcommand with path to solution's file name, the latter is doubly unquotted with no apparent reason.
E. g. runing
checkio run "src/Electronic Station/ascending_list.py"or
checkio run src/Electronic\ Station/ascending_list.pyboth ended with
args.mission == ['src/Electronic']andargs.filename == 'Station/ascending_list.py'Note both versions are automatically generated by bash/zsh command line Tab completion (with or without leading double quote).
The only way to make it work is to construct one of the natural command line and add extra quotation level like this (with both quotes and backslash) manually:
checkio run "src/Electronic\ Station/ascending_list.py"I suggest to remove double unquotting mentioned above, and stand with simple
call_args = sys.argv[1:]