Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!hpcc05!hpcc01!okamoto From: okamoto@hpcc01.HP.COM (Jeff Okamoto) Newsgroups: comp.lang.perl Subject: Re: Starting editor from within perl script Message-ID: <1180003@hpcc01.HP.COM> Date: 2 Oct 90 17:59:32 GMT References: <1990Sep21.190641.9221@cs.rochester.edu> Organization: HP Corp Computing & Services Lines: 17 chrise@hpnmdla.HP.COM (Chris Eich) reminds me: >> ... I've written a subroutine to capture both the standard >> output and error and return it in a list. > Why not just do `foo 2>&1` or `(complex-shell-stuff) 2>&1`? This will indeed work, and I should have thought of it. At least, however, the work I had to do to get around this taught me a lot about fork, wait.... -- \ oo The New Number Who, \____|\mm Jeff Okamoto //_//\ \_\ HP Corporate Computing & Services /K-9/ \/_/ okamoto@ranma.corp.hp.com /___/_____\ ----------- (415) 857-6236