Take a look at file#
9477 and faq#7789. It allows you to wait on termination or return immediately.
>I have two problems with running other applications from within a froxpro app.
>
>Firstly, I need to wait until the application I am running (a string which the user may enter) to complete. I was creating a batch file which deletes another file after running the user command but this does not always work for various reasons.
>
>=> How do others do this???
>=> Is there a way to determine whether the task is still running
> - Can I specify the name of the task being run and use a system call
> to determine if the task still exists???
>
>Secondly, I want to run a shortcut. This enables me to run without the command
>window.
>
< snip >
--sb--