[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pipes and processes, stdin, stdout and stderr

From: Thien-Thi Nguyen
Subject: Re: Pipes and processes, stdin, stdout and stderr
Date: Wed, 15 Apr 2015 23:38:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

() 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 ( 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

Thien-Thi Nguyen -----------------------------------------------
  (if you're human and you know it) read my lisp:
    (defun responsep (type via)
      (case type
        (technical (eq 'mailing-list via))
---------------------------------------------- GPG key: 4C807502

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]