Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19990303190027.24958.rocketmail@send103.yahoomail.com> Date: Wed, 3 Mar 1999 11:00:27 -0800 (PST) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: Access to Win32 Processes from shell To: "David's Lightspeed Email" , cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii ---David's Lightspeed Email wrote: 8< > I'm launching processes from Perl scripts using backticks and the system > command, and it seems that Windows is stealing my processes from me > sometimes. Although the application is running, and the window is visible, > I look for the process with "ps -ef", and it is nowhere to be found. Where > did it go? > > What I'm doing is automating IExplorer launches to retrieve http documents. > Once I have the documents, though, I need to kill the window, otherwise my > screen starts filling up with hundreds of icons. > > Any clues? 8< The processes for non-cygwin binaries cannot be mapped to a cygwin process. Therefore you will not see the process with the ps command. You might use the CreateProcess function instead and use the handle returned by it to control the window/process created. == - \\||// -------------------o0O0--Earnie--0O0o------------------- -- earnie_boyd AT yahoo DOT com -- -- http://www.freeyellow.com/members5/gw32/index.html -- ----------------------ooo0O--O0ooo---------------------- PS: Newbie's, you should visit my page. _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com