Hi Paul, I ran into this same problem today. Check out the System2 module from CPAN. Only problem is it lacks a license or copyright notice. Oh, and it uses select() so probably only works on Unix.
-John On Fri, Oct 05, 2001 at 11:27:02AM -0400, Paul Lussier wrote: > > Hi all, > > I have a situation where I need to exec a command-line based perl > program from a CGI wrapper. I want to do this safely, but I also > want to see the same output from the command line program in the > browser that I would normally. > > I'm not quite sure how I should go about doing this, and have it safe > as well. I'm assuming the best option is using the list form of > system()? If so, how do I get STDERR to the browser as well? > > Will 'fatalsToBrowser' accomplish this? Currently stderr seems to > end up in the apache error log. > > Thanks for you input. > > -- > > Seeya, > Paul > ---- > > God Bless America! > > ...we don't need to be perfect to be the best around, > and we never stop trying to be better. > Tom Clancy, The Bear and The Dragon > > > -- John Tobey <[EMAIL PROTECTED]> Take a minute for the defense of freedom: http://www.indefenseoffreedom.org/
