[Issue 19502] windows command line arguments wrongly split
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Feb  4 07:31:50 UTC 2020
    
    
  
https://issues.dlang.org/show_bug.cgi?id=19502
himeix at outlook.com changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |himeix at outlook.com
--- Comment #4 from himeix at outlook.com ---
(In reply to Rainer Schuetze from comment #2)
> I don't see any difference in arguments for D or C++ (VC16). Both produce
> `C:\test"\blah.exe` for the example in the bug report.
> 
> What OS/VC version are you seeing the difference with?
I'm on Windows 10 x64 with VC 2019. In a test with the following codes:
int main(string[] argv)
{
    foreach(i; argv)
        writeln(i);
    return 0;
}
The cmd.exe raw displays:
C:\Users\XXX>"C:\Users\XXX\source\repos\test\x64\Debug\"\test.exe
C:\Users\XXX\source\repos\test\x64\Debug\
\test.exe
I reproduced this issue.
--
    
    
More information about the Digitalmars-d-bugs
mailing list