> Hi Michael (or anybody else who knows the stuff),
> could you complete the code for EXT:RUN-PROGRAM? I have=20
> implemented a new option, :WAIT, which tells the function for=20
> a process to finish.
> In Linux I implemented it using waitpid. I do not know how to=20
> do the same in Windows.
What you have to do is (I cannot check myself as I'm not using
- not close the process handle pr_info.hProcess (this probably
means adding a top-level variable to store it, let's call it
- use something like:
int status; /* just in case you'd need the exit status */
/* skip the following if you don't care about the exist status */