|
|
| XP is just a number | |
| PerlMonks |
Re: How to close command prompts opened with perl script after execution that scriptby ig (Priest) |
| on Aug 06, 2012 at 15:09 UTC ( #985748=note: print w/ replies, xml ) | Need Help?? |
|
Starting the cmd windows as you are, it is difficult to kill them as you don't have a handle or PID for them. If your commands are unique enough, you might use taskkill to kill the processes. You could use Win32::Process to start the command processes then terminate them, something like:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||