Hi Mark,
indeed, setting buffering with (setvbuf ...) solved the issue.
Thanks a lot!
For some reason that I don't know, possibly historical, the pipes
created by procedures in (ice-9 popen) are unbuffered by default.
I think you're right, but doesn't the manual suggest otherwise, when
i
Dear guile users,
I've notice that reading a child process' stdout from a port opened
with (open-input-pipe "command") is very slow. In fact, it's faster
to redirect the child process' output to a temporary file, and then
read this temporary file from Guile, than to directly read the child
p
From: Stefan Israelsson Tampe
Subject: Re: capture stdout and stderr
Date: Thu, 24 May 2018 15:25:51 +0200
I think that your code whould work but doesn't because string ports
are not file ports and system commands pipes out to file ports.
'open-input-pipe' uses 'scm_open_process' that returns
From: Catonano
Subject: Re: capture stdout and stderr
Date: Sat, 26 May 2018 12:24:11 +0200
The first observation is that in the first case, you close the port
cotaining
the error _prior_ to attempting reading from the port
In the second case, you attempt reading from the port AND THEN you
c
Hi Guilers,
I want to run an external process, and capture both its stdout and
stderr output streams. I didn't find an easy way to get a port for
an external process' stderr, other than wrapping the call to the
process in "with-error-to-port".
My questions are:
0) Did I miss something obvi
From: Catonano
Subject: segmenation fault
Date: Fri, 9 Jun 2017 09:21:35 +0200
probably this line
(scm->pointer 0)
is not correct
But I don't know how to produce a void pointer and then pass it to
freexl-open
It seems you need a void ** (pointer to void pointer). I'm not
familiar with Guil
From: Catonano
Subject: Re: FOSDEM 2017 audio/video volunteers needed
Date: Fri, 3 Feb 2017 14:49:54 +0100
> 2017-01-11 4:49 GMT+01:00 Pjotr Prins :
>
>> On Tue, Jan 10, 2017 at 04:02:32AM +, Pjotr Prins wrote:
>> > Hi all,
>> >
>> > FOSDEM provides live streaming of talks and archiving. We