Re: Pipes and processes, stdin, stdout and stderr

2015-04-14 Thread Christopher Allan Webber
Thanks Vladimir! I will look through this. Vladimir Zhbanov writes: > Hi, Chris. > > In geda-gaf, I modified open-pipe* to solve a similar issue. > See the procedure code and comments in attachment. > > Cheers, > Vladimir

Re: Pipes and processes, stdin, stdout and stderr

2015-04-14 Thread Vladimir Zhbanov
Hi, Chris. In geda-gaf, I modified open-pipe* to solve a similar issue. See the procedure code and comments in attachment. Cheers, Vladimir ;; run a child process and return a pair of input and output ports. ;; Executes the program 'command' with optional arguments 'args' ;; (all strings) in a

Pipes and processes, stdin, stdout and stderr

2015-04-14 Thread Christopher Allan Webber
Hello all, Last night I was trying to do the equivalent of this: bash$ echo "foo" | sha512sum in guile. But I was unable to find a clear way to do it. I tried something like: (let* ((port (open-pipe* OPEN_BOTH "sha256sum" "--binary"))) (display "test me\n" port