I often run external programs by the command line with mine. This, of course, creates problems when I am running one external program after another when both have a reliance on eachother's output.
The easy solution to this is to put a delay between each program being started... but this is very messy.
Is there a good way to do this? Perhaps a way for my program to launch another program and keep track of it that doesn't run the risk of winding up in an infinite loop?
The easy solution to this is to put a delay between each program being started... but this is very messy.
Is there a good way to do this? Perhaps a way for my program to launch another program and keep track of it that doesn't run the risk of winding up in an infinite loop?