From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27004 invoked by alias); 13 Feb 2014 18:49:42 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 26990 invoked by uid 89); 13 Feb 2014 18:49:41 -0000 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 Received: from mout.gmx.net (HELO mout.gmx.net) (74.208.4.201) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 13 Feb 2014 18:49:40 +0000 Received: from [192.168.1.4] ([137.118.244.204]) by mail.gmx.com (mrgmxus001) with ESMTPA (Nemesis) id 0MV5xb-1VfkIW0ieT-00YOhv for ; Thu, 13 Feb 2014 19:49:37 +0100 Message-ID: <52FD13AE.5070108@mail.com> Date: Thu, 13 Feb 2014 18:50:00 -0000 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@cygwin.com Subject: Child PID Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00320.txt.bz2 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