On Tue, 9 May 2006, Jack Bailey wrote:
>
> stdout and stderr share file descriptor 1. My code is looking for
> results on stdout. SPF library output to stderr appears on stdout and
> that trips up my stuff.
Right. This is a documented part of the child_open API - see section 41.7
of the spec. Your code must cope with is appropriately.
(Of course, it's extremely bad style for a libary to write to stderr,
because that makes assumptions about the library's environment which are
likely to be wrong. Much like SPF in general.)
Tony.
--
<fanf@???> <dot@???>
http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}