RE: Path pitfalls....
- Posted by Ray Smith <smithr at ix.net.au> Nov 26, 2002
- 431 views
Patrick.Barnes at transgrid.com.au wrote: > No dice, it IS the "> bin\\export1.html" that's the problem. > > Also, does the program halt until the shellExecute is finished? If it > doesn't, then that is going to cause problems too. > > Qs: > --- > > 1. How to redirect stdout in the windows environment? > > 2. How to make the eu program wait until php.exe is finished? One way would be to use a batch file instead. eg. setup a batch file this: bin\php.exe bin\Cat.php > bin\export1.html bin\php.exe bin\Cat2.php > bin\export2.html your_eu_program.exe and get access to run the batch file instead. ... just an idea Regards, Ray Smith http://rays-web.com