From mboxrd@z Thu Jan 1 00:00:00 1970 From: Earnie Boyd To: David's Lightspeed Email , cygwin@sourceware.cygnus.com Subject: Re: Access to Win32 Processes from shell Date: Wed, 03 Mar 1999 10:59:00 -0000 Message-id: <19990303190027.24958.rocketmail@send103.yahoomail.com> X-SW-Source: 1999-03/msg00067.html ---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@yahoo.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@sourceware.cygnus.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Earnie Boyd To: David's Lightspeed Email , cygwin@sourceware.cygnus.com Subject: Re: Access to Win32 Processes from shell Date: Wed, 31 Mar 1999 19:45:00 -0000 Message-ID: <19990303190027.24958.rocketmail@send103.yahoomail.com> X-SW-Source: 1999-03n/msg00067.html Message-ID: <19990331194500.l4nPqVUfmrBb0USdrOPQ_01WEVlrCAmGqvK1-1dTUgU@z> ---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@yahoo.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@sourceware.cygnus.com