Possible bug in std.path?

ag0aep6g via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 20 05:55:21 PDT 2016


On Monday, 20 June 2016 at 12:38:23 UTC, Hugo wrote:
> Not necessarily, cmd.exe is made in C/C++
> AFAIK, most other console applications for Windows behave the 
> same way too.

As seen on MSDN, it's how "Microsoft C/C++ startup code" does it. 
It's what you get in a C main's argv. Populating a D main's args 
in a different way would be unusual.

Of course you can parse the command line yourself, and do it 
differently then. You can do this in C, in C++, and in D too. But 
the default is the other way, in all of them.


More information about the Digitalmars-d mailing list