Windows command line and execv

Kagamin spam at here.lot
Fri Aug 20 12:12:40 PDT 2010


Andrei Alexandrescu Wrote:

> > Try to sleep after execv.
> 
> I think a form of join/wait is more appropriate.

That should be done inside execv.
If one wants to join in user code, execv should return a waitable handle.

Hmm msdn says it works in posix way. The problem seems to be cmd waits on parent process and when parent exits, cmd prints command prompt, but child is still running.


More information about the Digitalmars-d mailing list