delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/13/13:49:59

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <tpoole AT mail DOT com>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019