Skip to content

if input a space in the command line #20

@cmcmone

Description

@cmcmone

Input space in the command line will be treated as different parameters by the operating system. This is a requirement of the operating system.

  1. 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.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions