X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=e8k f88Jr2tnIByHOrIfkwQ8hPXzsrWkigHljXEZ6Uo1/r/Jb002yJ+45oUYI7VNPakn 3A20rJMwiXcPCt05jWXe/U90IgWNCuUz9uMgPSMIjM/IJLXHTGAWgjsnRlet2RS5 Drja5Jf5V4/I1QMkhX0bN7WyU3H2ch6pqZ2jnWI0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=AZCQZuVTP JeAcGf9Ax+SteNbA3k=; b=ODs1c3uf89rPAscO4CzRrHEchHO6LCHgQOuj0sCBs VX3M33ghwMuCDHbBZ9ahJJsDlalYZ3dmOsegDISBKdVoobpQj3uEm7tfSbzxDcP2 3G+3qwl9h155f4yYPeslu+/VOi6IEJyYJTjvn7PRjBQYPhXTH59QWMTZ6gd0CXsl +U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mout.gmx.net Message-ID: <52FD13AE.5070108@mail.com> Date: Thu, 13 Feb 2014 13:49:18 -0500 From: Todd Poole User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Child PID Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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