MSYS2: How to disable automatic translation of pathname to drive letter?

后端 未结 1 879
别那么骄傲
别那么骄傲 2021-01-29 01:45

I\'m facing an issue when testing a C program compiled with mingw in the MSYS2 shell: I wrote a command line parser that accepts options according to the windows convention (sta

相关标签:
1条回答
  • 2021-01-29 02:46

    You can use the MSYS2_ARG_CONV_EXCL environment variable to disable this behavior. For example, try running:

    MSYS2_ARG_CONV_EXCL=\* ./example.exe /o test
    
    0 讨论(0)
提交回复
热议问题