This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Child PID


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]