executeShell doesn't work but system does

Smoke Adams via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jun 27 12:28:58 PDT 2016


On Sunday, 26 June 2016 at 16:02:18 UTC, ag0aep6g wrote:
> On 06/26/2016 05:37 PM, Smoke Adams wrote:
>> [...]
>
> Unsolicited spelling correction: no 'i' in "deprecated".
>
>> [...]
>
> `system` directly prints its output, `executeShell` returns it 
> in a tuple with the status code. Maybe cls works by printing 
> some specific clear code. If so, you have to print the output 
> of the command.
>
> [...]

neither work but

wait(spawnShell("cls"));				


More information about the Digitalmars-d-learn mailing list