executeShell doesn't work but system does

Satoshi via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 26 10:56:08 PDT 2016


On Sunday, 26 June 2016 at 15:37:03 UTC, "Smoke" Adams wrote:
> system("cls") works but executeShell doesn't. system is 
> depreciated.
>
> What's going on? The docs say that it creates a new process. I 
> simply want to clear the console!


I have problem with executeShell on windows 10 (LDC 1.0.0) too.
When I rewrote it into http://prntscr.com/blc9j8 it works.


More information about the Digitalmars-d-learn mailing list