Is that a way to get the child pid that start by an application?
From: Mav (mluvw47_at_yahoo.com)
Date: 08/03/04
- Next message: Guy Smiley: "Best way to remove last word from a string"
- Previous message: Michele Dondi: "Re: Variable interpolation on STDIN ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 3 Aug 2004 14:56:01 -0700
Hi, there
I have a perl script on windows that try to lanuch a
command(devenv.com);However, the process still start an process
(devenv.exe) that I am trying to get the pid, so I can kill it later.
I able to get the pid for devenv.com, but not devenv.exe, and when
I kill devenv.com, devenv.exe will be zombie.
Here is my code:
...
@args = ("\"$devPath\\devenv.com\" ..\\Solution\\my.sln /build
Debug");
$pid = open my $proc, "@args |"; #Able to get the pid for devenv.com
...
Any idea?
Thanks,
Mav
- Next message: Guy Smiley: "Best way to remove last word from a string"
- Previous message: Michele Dondi: "Re: Variable interpolation on STDIN ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|