in reply to Automate program interaction

Hi Anonymous Monk,

You could use IPC::Open3 to get the output. Have a look at the thread on IPC::Open3 woes for some ideas. In particular, have a look at Re: IPC::Open3 woes.

You can find another example on the use of IPC::Open3 in the article of the Perl Journal titled: Perl and Inline Octave Code.

I hope this helps,

Cheers,

lin0