faxq child processes closing stdin, stdout, and stderr

Lee Howard <[email protected]> Sat, 15 Dec 2012 15:17:00 -0800
Newsgroups gmane.comp.telephony.fax.hylafax.devel
Message-ID <[email protected]>
Aidan,

Regarding...

http://git.hylafax.org/HylaFAX?a=commitdiff;h=551d959e1ef27a232182940e249a3364e439d275

Can you please explain these two statements? ...

+                * We set up our file handles carefully here because
+                * we want to have STDIN/STDOUT/STDERR all appearing
+                * normally.  We rely on knowing that faxq has a "good" 
STDIN
+                * STDERR at all times.

Is there a problem in closing stdin and stderr within a faxq child 
process?  And, if those statements are correct aren't they contradicted 
by operations (closing of stdin and stderr) within 
faxQueueApp::sendStart and perhaps for a microsecond within 
faxQueueApp::runConverter?

Thanks,

Lee.


____________________ HylaFAX(tm) Developers Mailing List ____________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe [email protected] < /dev/null