Shell command

Shell command

Anonymous
Not applicable
286 Views
1 Reply
Message 1 of 2

Shell command

Anonymous
Not applicable
I am using the shell command and I need to wait for it to finish.
any ideas on how to do this without using a sleep function?
my code now works with a 0.25 sec sleep state.
This is not very portable because it may take 0.3 sec for the
program to load on a slower machine.
thank you for your time and have a good day
0 Likes
287 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Have a look at SynchronousShell in the API section of my web site.
Hope this helps.

--
http://www.acadx.com
"You keep using that word. I do not think it means what you think it
means."

"Mike Daugird" wrote in message
news:[email protected]...
> I am using the shell command and I need to wait for it to finish.
> any ideas on how to do this without using a sleep function?
> my code now works with a 0.25 sec sleep state.
> This is not very portable because it may take 0.3 sec for the
> program to load on a slower machine.
> thank you for your time and have a good day
>
0 Likes