piping with System.Process.createProcess

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Mon Jan 5 12:49:33 EST 2009

On 2009 Jan 5, at 1:19, Claude Heiland-Allen wrote:
> Data would flow through this pipe from top to bottom, which I find to
> be intuitive.  However, pipeForwards is broken; it fails with the
> message "cat: -: Resource temporarily unavailable".  (The "cat" that
> fails is the "cat" with the UseHandle.)

Sounds like the runtime isn't switching the pipe to blocking read mode  
before handing it off to the subprocess.  You should submit a bug  
report:  http://hackage.haskell.org/trac/ghc/wiki/ReportABug

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

More information about the Libraries mailing list