G.Schuster
3rd March 2007 11:51 UTC
Runn apps and get process ID
Hello,
Changed the topic and my post - thinks this should be easier to answer.
How can I call an external .exe and get the process ID it is running under?
I would like to do something of this kinde:
Exec "C:\myapp\doit.exe"
Pop $processID
; do something else...
; on installer-exit:
KillProcess $processID
Thanks in advance!
Red Wine
4th March 2007 14:53 UTC
If running application has window title and/or window class, you may use this function.
Also check FCT plugin and nsProcess plugin.
G.Schuster
4th March 2007 19:52 UTC
Thank you so far, I will look into this.
But isn't there any "internal" variable/function that holds the procesid for processes started by Exec?