Hello Zelphir,
Zelphir Kaltstahl writes:
> I have questions regarding this workaround:
>
> Can you explain how and why this works? I have tried to make sense of it and
> here are my notes so far (reference:
> https://notabug.org/ZelphirKaltstahl/guile-examples/src/2dead9f7bb9b40fc26eb490a93e1dc
Hello Josselin and all!
On 2/23/22 15:01, Josselin Poiret wrote:
Hello,
p...@thomasdanckaert.be writes:
Hi,
to throw in an example: I once used a function like the one below to
handle stdout and stderr from external commands (from
https://github.com/tdanckaert/jobview/blob/master/jobtools.
Hello Oliver!
On 2/23/22 15:13, Olivier Dion wrote:
On Wed, 23 Feb 2022, Zelphir Kaltstahl wrote:
There's ton of missing stuffs in the standard library IMO. On top of my
head, filesystem paths manipulation (e.g. path-join) is also one that is
probably getting re-invented a lots.
I actually
On Thu, 24 Feb 2022, Blake Shaw wrote:
> Olivier Dion via General Guile related discussions
> writes:
>> This is great and should be merged into the standard library of Guile.
>> Maybe not at it's (I have not read everything), but this would be trully
>> benifical to all Guile users.
>>
> I very
Olivier Dion via General Guile related discussions
writes:
> On Wed, 23 Feb 2022, Zelphir Kaltstahl
> wrote:
>
>>> There's ton of missing stuffs in the standard library IMO. On top
>>> of my
>>> head, filesystem paths manipulation (e.g. path-join) is also one
>>> that is
>>> probably getting re
On Wed, 23 Feb 2022, Zelphir Kaltstahl wrote:
>> There's ton of missing stuffs in the standard library IMO. On top of my
>> head, filesystem paths manipulation (e.g. path-join) is also one that is
>> probably getting re-invented a lots.
>
> I actually made something for that, trying to copy most
Hello,
p...@thomasdanckaert.be writes:
> Hi,
>
> to throw in an example: I once used a function like the one below to
> handle stdout and stderr from external commands (from
> https://github.com/tdanckaert/jobview/blob/master/jobtools.scm#L38 ).
> Probably far from perfect (my first and only
Hi Alex!
On 2/22/22 11:20, Alex Sassmannshausen wrote:
Hi Zelphir,
I think you want to be using the popen / pipe procedures for this. See
https://www.gnu.org/software/guile/docs/docs-2.2/guile-ref/Pipes.html
for the chapter in the manual.
Hope this helps :)
Alex
Zelphir Kaltstahl writes:
Hi all!
On 2/22/22 12:20, Neil Jerram wrote:
On Tue, 22 Feb 2022 at 10:23, Alex Sassmannshausen
wrote:
Hi Zelphir,
I think you want to be using the popen / pipe procedures for this. See
https://www.gnu.org/software/guile/docs/docs-2.2/guile-ref/Pipes.html
for the chapter in the manual.
Anoth
Hi Oliver!
On 2/22/22 17:33, Olivier Dion wrote:
On Tue, 22 Feb 2022, Leo Butler wrote:
Olivier Dion via General Guile related discussions
writes:
On Tue, 22 Feb 2022, Zelphir Kaltstahl wrote:
Hello Guile users!
How would I run a shell command from inside Guile and get its output
as a st
On Tue, 22 Feb 2022, Leo Butler wrote:
> Olivier Dion via General Guile related discussions
> writes:
>
>> On Tue, 22 Feb 2022, Zelphir Kaltstahl wrote:
>>> Hello Guile users!
>>>
>>> How would I run a shell command from inside Guile and get its output
>>> as a string, instead of the output bein
Olivier Dion via General Guile related discussions
writes:
> On Tue, 22 Feb 2022, Zelphir Kaltstahl wrote:
>> Hello Guile users!
>>
>> How would I run a shell command from inside Guile and get its output
>> as a string, instead of the output being outputted directly? (Guile
>> 3.0.8)
>
> I use t
On Tue, 22 Feb 2022, Zelphir Kaltstahl wrote:
> Hello Guile users!
>
> How would I run a shell command from inside Guile and get its output
> as a string, instead of the output being outputted directly? (Guile
> 3.0.8)
I use the following:
(define-module (shell utils)
#:use-module (ice-9 forma
On Tue, 22 Feb 2022 at 10:23, Alex Sassmannshausen
wrote:
>
> Hi Zelphir,
>
> I think you want to be using the popen / pipe procedures for this. See
> https://www.gnu.org/software/guile/docs/docs-2.2/guile-ref/Pipes.html
> for the chapter in the manual.
Another example, for reading transactions o
Hi,
to throw in an example: I once used a function like the one below to
handle stdout and stderr from external commands (from
https://github.com/tdanckaert/jobview/blob/master/jobtools.scm#L38 ).
Probably far from perfect (my first and only scheme project...), but
hopefully it gives you an
Hi Zelphir,
I think you want to be using the popen / pipe procedures for this. See
https://www.gnu.org/software/guile/docs/docs-2.2/guile-ref/Pipes.html
for the chapter in the manual.
Hope this helps :)
Alex
Zelphir Kaltstahl writes:
> Corrections below.
>
> On 2/22/22 10:29, Zelphir Kaltstah
On Tue, Feb 22, 2022 at 09:38:35AM +, Zelphir Kaltstahl wrote:
> Corrections below.
>
> On 2/22/22 10:29, Zelphir Kaltstahl wrote:
> > Hello Guile users!
> >
> > How would I run a shell command from inside Guile and get its output as
> > a string, instead of the output being outputted directl
Corrections below.
On 2/22/22 10:29, Zelphir Kaltstahl wrote:
Hello Guile users!
How would I run a shell command from inside Guile and get its output as a
string, instead of the output being outputted directly? (Guile 3.0.8)
So far I have found
(system ...)
which I tried to use w
18 matches
Mail list logo