http://www.perlmonks.org?node_id=11132812


in reply to Re: Killing subprocess in windows
in thread Killing subprocess in windows

> what's the problem?

getting the PID for killing. The file is locked as long as it is open, hence I can check that it was closed.

> surely one can implement

I thought about it, but getting the PID is always helpful.

And I didn't want to fiddle much with stat and seek to read the newest portion of the file plus the idiosyncrasies of Win OS when applying a Unix-born language.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery