in reply to ctrl-c'ing

Have you tried closing the DUMP filehandle?

In some programs where I've experienced this sort of thing, I've used IPC::Open2 to get read and write filehandles to the external process, then closed the write filehandle when I was done.

It really depends on what the program is expecting and what it is trying to do, though.

--
brian d foy <brian@stonehenge.com>