This is the mail archive of the email@example.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: Access to Win32 Processes from shell
- To: "David's Lightspeed Email" <firstname.lastname@example.org>
- Subject: Re: Access to Win32 Processes from shell
- From: Anders Norlander <email@example.com>
- Date: Thu, 04 Mar 1999 11:05:53 +0100
- CC: firstname.lastname@example.org
- Delivered-To: email@example.com
- Delivered-To: mailing list firstname.lastname@example.org
- Mailing-List: contact email@example.com; run by ezmlm
- References: <firstname.lastname@example.org>
- Sender: email@example.com
Earnie Boyd wrote:
> ---David's Lightspeed Email <firstname.lastname@example.org> wrote:
> > I'm launching processes from Perl scripts using backticks and the
> > command, and it seems that Windows is stealing my processes from me
> > sometimes. Although the application is running, and the window is
> > I look for the process with "ps -ef", and it is nowhere to be found.
> > did it go?
> > What I'm doing is automating IExplorer launches to retrieve http
> > Once I have the documents, though, I need to kill the window,
> otherwise my
> > screen starts filling up with hundreds of icons.
> > Any clues?
> 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.
That's not quite right. David, are you using a non-cygwin perl,
like ActiveState? If that is the case that is likely your problem.
The system command probably uses command.com/cmd.exe to execute commands
and at least command.com does not wait for win32 gui processes to
If you are using a cygwin perl, my guess is that IE starts another
that is *not* mapped by cygwin. Try using lynx or wget.
Want to unsubscribe from this list?
Send a message to email@example.com