Date: Wed, 25 Oct 2000 08:12:46 -0700 (PDT) From: Yorick Hardy <yorickhardy@yahoo.com> To: freebsd-questions@freebsd.org Subject: pipe through ghostscript causes stdin EAGAIN error Message-ID: <20001025151246.79629.qmail@web9606.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
A problem with a program I have written (which pipes information to ghostscript) prompted me to check the following cat | gs -sDEVICE=ppmraw - which gives the result from cat(as soon as a newline is entered) stdin:Resource temporarily unavailable (i.e. the error EAGAIN). I am using 4-STABLE, tcsh as the shell and gs6.01. Is ghostscript at fault? In my program, ensuring that all the standard descriptors(stdin,stdout and stderr) were closed before the exec, solved the problem. Is there some way that ghostscript can influence stdin when it only has access to stderr? Thank you for any suggestions. Yorick Hardy __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001025151246.79629.qmail>