() Christopher Allan Webber <cweb...@dustycloud.org> () 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 -- 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
signature.asc
Description: PGP signature