chaos945 Posted March 14, 2008 Posted March 14, 2008 (edited) Has anyone successfully done this? I am trying to launch an executable and track spawned child processes. Ie: A.exe launches B.exe and the PID is linked somehow to A.exe. For anyone with Spybot - S&D installed see for instance launch "SDMAIN.exe" this in turn launches "SPYBOTSD.exe". I could just run "SPYBOTSD.exe" but it is super-hidden by default and _FileListToArray() does not seem to find it. Edited March 14, 2008 by chaos945
PsaltyDS Posted March 14, 2008 Posted March 14, 2008 Has anyone successfully done this? I am trying to launch an executable and track spawned child processes. Ie: A.exe launches B.exe and the PID is linked somehow to A.exe.For anyone with Spybot - S&D installed see for instance launch "SDMAIN.exe" this in turn launches "SPYBOTSD.exe". I could just run "SPYBOTSD.exe" but it is super-hidden by default and _FileListToArray() does not seem to find it.You could run _ProcessListProperties(), which lists parent PIDs and follow the chain. You could just extract whay you need from the 2D array, or it shouldn't be hard to extract just the specialized part you want from the code to track only PIDs and PPIDs. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now