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


in reply to How to call a script interactively from perl

You want Open3. This assumes you know what you need to write to the third-party script to get it to exit gracefully

fnord