Access to Win32 Processes from shell

Earnie Boyd earnie_boyd@yahoo.com
Wed Mar 3 10:59:00 GMT 1999


---David's Lightspeed Email <dpainter@lightspeed.net> 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



More information about the Cygwin mailing list