Input space in the command line will be treated as different parameters by the operating system. This is a requirement of the operating system.
- When you input spaces in run command, such as
-run array_test; string_view_test, the program will throw an invalid_cmd_line exception, which is in line with the expected result.
- If the input command line contains quoted, such as
-run "array_test; string_view_test", the program will throw an invalid_option_value exception because the second value contains a space at the beginning.
See @smurthys' comment.
Input space in the command line will be treated as different parameters by the operating system. This is a requirement of the operating system.
-run array_test; string_view_test, the program will throw aninvalid_cmd_lineexception, which is in line with the expected result.-run "array_test; string_view_test", the program will throw aninvalid_option_valueexception because the second value contains a space at the beginning.See @smurthys' comment.