Re: getting pipes going

2012-06-20 Thread Ian Price
Johan Hidding writes: > Hi everyone, > I'm having difficulties getting (open-pipe ...) to work for me. I > would expect the following code: > > (use-modules (ice-9 popen)) > > (display (with-output-to-string (lambda () >(let ((P (open-pipe "cat" OPEN_WRITE))) > (display "

Re: getting pipes going

2012-06-15 Thread Daniel Hartwig
On 15 June 2012 01:10, Johan Hidding wrote: > (use-modules (ice-9 popen)) > > (display (with-output-to-string (lambda () >           (let ((P (open-pipe "cat" OPEN_WRITE))) >             (display "Hello World!\n" P) >             (close-pipe P) > > to output: Hello World! > But it gives me not