Windows command line and execv
Kagamin
spam at here.lot
Fri Aug 20 10:59:10 PDT 2010
Nick Sabalausky Wrote:
> > Is execv known to
> > trick the windows command-line into giving control back to the user?
Trick what into what?
> Ok that seems to be the case. See the attached screenshot. But it works fine
> on Linux though (assuming you add the proper "./", of course).
>
> Something else interesting to note for anyone who didn't already know (like
> me), is that if you change the body of execA's main to:
>
> write("In A"); // Note this doesn't automatically flush
> system("execB");
>
Yes, the console output is buffered in symantec library. Anyway, console output is broken in phobos. I just rolled my own. Did you know, windows console supports unix-style line breaks?
More information about the Digitalmars-d
mailing list