Re: Using a pipe in chicken 5

2020-08-06 Thread Mark Fisher
On Thu, 6 Aug 2020 at 12:47, Peter Bex wrote: > It looks like you swapped the meaning of in and out; you are trying to > open the "out" descriptor for reading by converting it to an input port. > > Try this instead: > > (import (chicken process)) > (import (chicken file posix)) > (import srfi-18)

Re: Using a pipe in chicken 5

2020-08-06 Thread Peter Bex
On Thu, Aug 06, 2020 at 12:01:40PM +0100, Mark Fisher wrote: > Hi Chicken Users, > > I'm a new user of chicken, and am using it to learn scheme. Hello and welcome, Mark! > I've got an issue with using pipes. > >From various sources I've created the following example, but when run > I get an

Using a pipe in chicken 5

2020-08-06 Thread Mark Fisher
Hi Chicken Users, I'm a new user of chicken, and am using it to learn scheme. I've got an issue with using pipes. >From various sources I've created the following example, but when run I get an exception. ;; example.scm (import (chicken process)) (import (chicken file posix)) (import srfi-18)