Child PID

Todd Poole tpoole@mail.com
Thu Feb 13 18:50:00 GMT 2014


I am in process of trying to process dumper on a pid. The pid I need to 
dump is a child of another program. If I use ps -W from command line and 
use the pid associated with the child all is well. I need it to be 
executed from a script. I have tried the following:

Firefox &
set plugin-container.exe
dumper $PID $(ps -W | awk "/plugin-container.exe/,NF=8")

Firefox is the parent that is opening. I have tried to isolate the child 
(plugin-container.exe) from the Command and get the pid but have not 
been successful. The PID is coming from the parent. Any suggestions 
greatly appreciaed.
Thanks

-- 
Todd Poole

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list