Date: Thu, 20 Apr 1995 11:03:17 -0400 From: dj (DJ Delorie) To: FZ AT phrouter DOT phy DOT pku DOT edu DOT cn Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: How to use pipe ? You should be able to use setmode() to change stdin/stdout to binary. For popen(), you can pass "rb" or "wb" as the open mode.