
Killing a pipe-opened command in Win32?
If I do something like:
open(PROG, "prog |");
How can I later kill this process? Closing it still waits for the process
to finish, so it seems I need to kill it by PID. Open seems to be returning
simply 1. Is there a way to get prog's PID so I can kill it -- or is there
a better way in general?
Brian.