|
|
| No such thing as a small change | |
| PerlMonks |
Re^2: Suggestions for testing interactive CLI apps?by webfiend (Priest) |
| on Apr 21, 2010 at 16:05 UTC ( #836097=note: print w/ replies, xml ) | Need Help?? |
|
IPC::Run looks quite nice and easy. It looks like the timeout from the module handles alarm-style behavior. Actually, IPC::Run looked so nice and easy that I tried it out. My attempts to use it pleased me, so I wrote a little wrapper to hide some of the clutter.
That allowed for a nice simple script in my test code.
So thanks for the suggestion! That worked quite nicely for my needs.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||