Hello,
I wrote a little helper application, and I wanted my script to run it occasionally. It will pop any old windows back up or start over as a whole, so I won't have to start it manually. However, in the case the application wasn't running, os.execute blocks the scripts execution, and on top of that you have the fact it pops a CMD window up.
Maybe I overlooked something, but how can I do something simple like the Windows WinExec or CreateProcess functions?
PS: I need to be able to pass parameters, in case that's important.
PS2: What is it with me looking for 20 minutes searching for solutions, and after I post I finally find a solution? Gah.
http://www.gammon.com.au/forum/?id=6581 will most likely solve my problem. Thanks Nick!
I wrote a little helper application, and I wanted my script to run it occasionally. It will pop any old windows back up or start over as a whole, so I won't have to start it manually. However, in the case the application wasn't running, os.execute blocks the scripts execution, and on top of that you have the fact it pops a CMD window up.
Maybe I overlooked something, but how can I do something simple like the Windows WinExec or CreateProcess functions?
PS: I need to be able to pass parameters, in case that's important.
PS2: What is it with me looking for 20 minutes searching for solutions, and after I post I finally find a solution? Gah.
http://www.gammon.com.au/forum/?id=6581 will most likely solve my problem. Thanks Nick!