Wiebe@CARYA wrote:
> Hi,
>
> A much easier (an better) way is to let the System Exec.vi wait until it
> completes. If the program has to continue execution, start the VI
> dynamically, and check if the dynamic VI is done.
>
> I can't think of an easy way to get a process handle. It would be easier to
> get the new window handler (even if it's hidden there will probably be a
> window handler), and check it the window is still there.
Well, not with the system Exec.vi anyhow. There is however on the Linux
and MacOS X side a Pipe library which actually does allow to create a
process, and returns the process ID as well as the handles to that
processes standard IO and standard error console.
I have tried to do something like this on Windows and posted a
prelimenary version with DLL on the OpenG Toolkit CVS repository on
sourceforge. I haven't gotten around to it to do more tests and refine
what is currently available there but it does give an idea of how it is
supposed to work.
Rolf Kalbermatter
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390