Couldn't you just do `exec 2>&1` soon after the shebang line?
-Jeremy
On Feb 9, 2011 4:44 PM, "Platonides" <platonides@gmail.com> wrote: > Ilmari Karonen wrote: >> I remember being disappointed by the lack of stderr output in the mail I
>> got after switching my Commons MIME type statistics script over to SGE, >> but then I just thought "meh, I'm logging to a file anyway, I can always >> just look there if something goes wrong."
> > SGE has a parameter to send stdout and stderr merged. > > _______________________________________________ > Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
> https://lists.wikimedia.org/mailman/listinfo/toolserver-l > Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette