M
Mav
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
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