Waiting for a Spawn'ed process
Vladimir Panteleev
vladimir at thecybershadow.net
Fri Mar 28 09:36:57 PDT 2014
On Friday, 28 March 2014 at 15:52:17 UTC, Sharad Gupta wrote:
> I am trying to make a Utility which spwans=>pipeShell off
> multiple processes on user choice.
>
> On of the issues is that some process need to wait for other
> processes to finish. Now I could implement it using messages
> but that doesn't seem very nice solution. I could also wait for
> the pipeShell pid but was wondering what is the standard or
> recommended way to wait on a spawned process?
Calling wait on the Pid object returned by std.process functions
is the standard way to wait for a process to finish in D.
More information about the Digitalmars-d-learn
mailing list