[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pipes and processes, stdin, stdout and stderr
From: |
Christopher Allan Webber |
Subject: |
Re: Pipes and processes, stdin, stdout and stderr |
Date: |
Thu, 16 Apr 2015 10:34:32 -0500 |
Thien-Thi Nguyen writes:
> () Christopher Allan Webber <address@hidden>
> () Mon, 13 Apr 2015 19:17:41 -0500
>
> It might be really nice if there was a way to access stdin,
> stdout, and stderr as separate ports. I might be willing to
> write some code for it, if someone could point me in the
> right direction. But I really don't know where to look.
>
> IIRC, ttn-do (http://www.gnuvola.org/software/ttn-do/) has a
> child process module ‘(ttn-do zzz subprocess)’ that supports
> such access. It is not as automagic as ‘(ice-9 popen)’, but
> maybe that's the right level for you. If you look at the code
> of both modules (highly encouraged :-D), you will see a fairly
> similar pattern. I think the best way forward is if Someone
> migrates the (common) pattern into Guile proper, and exposes it
> under a suitably coherent design.
>
> Too many buzzwords, i know. But i hope you understand anyway.
>
> Is there a way to do this that I don't know?
>
> Only you know what you do not know, so who else can answer that?
> Next question! :-D
Thank you! I'll look at it.
Btw, what is ttn-do? I looked through the source and it seems to be a
collection of utilities. Is this right?
- cwebb
- Pipes and processes, stdin, stdout and stderr, Christopher Allan Webber, 2015/04/14
- Re: Pipes and processes, stdin, stdout and stderr, Vladimir Zhbanov, 2015/04/14
- Re: Pipes and processes, stdin, stdout and stderr, Thien-Thi Nguyen, 2015/04/16
- Re: Pipes and processes, stdin, stdout and stderr,
Christopher Allan Webber <=
- Re: Pipes and processes, stdin, stdout and stderr, Mark H Weaver, 2015/04/18