You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command line doc specifies that lists must be colon-separated, even for lists of paths.
Because of this, Windows paths like C:\MyDir are interpreted as 2 directories:
a relative dir C, which is undesired
an absolute dir /MyDir, which may end up in the right place if the working dir is in the same drive, but is not correct in general
This is because the generated argument parser simply splits on :, disregarding quotes or system-specific path separators.
It would be great it the CLI accepted the system's path-separator as a separator for paths lists (like Java's -cp argument).
The text was updated successfully, but these errors were encountered:
joffrey-bion
changed the title
KSP2 command line doesn't support absolute Windows paths
[KSP2] command line doesn't support absolute Windows paths
Aug 26, 2024
The command line doc specifies that lists must be colon-separated, even for lists of paths.
Because of this, Windows paths like
C:\MyDir
are interpreted as 2 directories:C
, which is undesired/MyDir
, which may end up in the right place if the working dir is in the same drive, but is not correct in generalThis is because the generated argument parser simply splits on
:
, disregarding quotes or system-specific path separators.It would be great it the CLI accepted the system's path-separator as a separator for paths lists (like Java's
-cp
argument).The text was updated successfully, but these errors were encountered: