Spawning a console in Windows (similar to forkpty on linux)

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat May 9 05:48:14 PDT 2015


On Saturday, 9 May 2015 at 12:26:58 UTC, wobbles wrote:
> What I mean is, if the cmd.exe hasnt flushed it's output, my 
> cmdPid.stdout.readln (or whatever) will block until it does. I 
> dont really want this.

Are you sure cmd is the culprit? It should have sensible 
buffering. Also do you want just a console window or also a 
command interpreter attached to it?


More information about the Digitalmars-d-learn mailing list