Re: IPC::Run or something else?

2006-02-05 Thread Tyler MacDonald
Tamas Dober <[EMAIL PROTECTED]> wrote: > Hello, > > I'm a beginner, please forgive me b/c of the simple questions. > > I'd like to test that that a batch file (starting a Java app) gives me the > expected output or not. I really like IPC::Run, but it is a bit of a heavy package to make

Re: IPC::Run or something else?

2006-02-05 Thread David Golden
Tamas Dober wrote: I'd like to test that that a batch file (starting a Java app) gives me the expected output or not. Could you please help me what direction I should go, what module should I use? I've had good experiences with IPC::Run3. It's pretty lightweight and intuitive. If you would

Re: IPC::Run or something else?

2006-02-05 Thread Yuval Kogman
On Sun, Feb 05, 2006 at 15:42:26 -0800, Tamas Dober wrote: > It seems I couldn't redirect the output. This is probably because the program prints on STDERR. Look into the redirect examples, and try to also capture \$err after \$out - see if that helps > Maybe IPC::Run is not a good choice? I th

Re: IPC::Run or something else?

2006-02-05 Thread Adam Kennedy
David Golden wrote: Tamas Dober wrote: I'd like to test that that a batch file (starting a Java app) gives me the expected output or not. Could you please help me what direction I should go, what module should I use? I've had good experiences with IPC::Run3. It's pretty lightweight and intu

Re: IPC::Run or something else?

2006-02-05 Thread Yuval Kogman
On Mon, Feb 06, 2006 at 18:38:32 +1100, Adam Kennedy wrote: > I second this. IPC::Run3 has treated me well on a few occasions, and I'm > gradually porting various things of mine over to IPC::Run3 as they come to my > attention for other issues. It looks like the ugprade path from IPC::Run3 to I