in reply to Controling and interactive program

IPC::Run... specifically, read the section on pump.
------------ :Wq Not an editor command: Wq