in reply to Re: How to get output from a spawned cmd prompt?in thread How to get output from a spawned cmd prompt?
OP might also find Capture::Tiny useful.