Thanks for the tip Charlie. In this case I did in fact want to mimic the way a shell worksheet works. Adding "open STDERR, '>&STDOUT';" to the start of my script did just that.
On Thursday, April 15, 2021 at 8:00:13 PM UTC-4 Charlie Garrison wrote: > On 16 Apr 2021, at 6:59, ctfishman wrote: > > Thanks Patrick, that explains it. The commands I was running didn't return > any output but they did return a warning. That's why I mistakingly thought > that everything was going to the log window. > > If needed, you can get Perl to capture both STDOUT and STDERR from the > running $command, and send both back to the document being filtered. I > doubt that's what you want (you probably want STDERR going to BBEdit output > log), but it's easy enough to grab both if that's preferred. > > -cng > > -- > > Charlie Garrison <[email protected]> > Garrison Computer Services <http://www.garrison.com.au> > PO Box 380 > Tumbarumba NSW 2653 Australia > > -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/f199a69b-3a52-4a40-bcb4-cff9f3522608n%40googlegroups.com.
