Your skill will accomplish what the force of many cannot |
|
PerlMonks |
never dying perl processes win32by vbrtrmn (Pilgrim) |
on Dec 31, 2002 at 06:16 UTC ( [id://223267]=perlquestion: print w/replies, xml ) | Need Help?? |
vbrtrmn has asked for the wisdom of the Perl Monks concerning the following question: good evening ladies and gentlemen, i've been kind of troubled in using perl in win32. i like it, i reallly do, but sometimes, when testing some scripts i have problems with perl never dying. i can sometimes have up to 10 instances of it just hanging out in the task manager. further, the Administrator account can't seem to kill them. I figured out how to kill the processes off, using MS's reskit utilities TLIST and KILL. TLIST functions like the taskmanager or the ps command on *nix platforms. Kill acts the same as 'End Process' in the taskmanager and is similar to the kill command on *nix platforms. These programs are mighty handy, you can kill any system process that's running (as a side note, if you kill one of the processes you will lose the ability to log off/shutdown/reset). Both are available here: ftp://ftp.microsoft.com/services/technet/samples/ps/win98/reskit/diagnose/ I commonly run into this problem, when experimenting in writing web applications, I'll run the script through my browser on my localhost; I'll either have an accidental infinite loop or I'll just stop the session early; this causes the perl process to keep running, though the browser has stopped loading. My question is how do I make my win32 box run more like unix, where the processes just die off by themselves? -- paul
Back to
Seekers of Perl Wisdom
|
|