unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
To: Guile Users <guile-user@gnu.org>
Subject: Two way pipe
Date: Thu, 26 Apr 2007 08:31:32 +0100	[thread overview]
Message-ID: <87k5vz7fsb.fsf@ossau.uklinux.net> (raw)

Hi all,

Is there any technical reason for why (ice-9 popen) only provides one
way pipes?  In other words, you can either write to the subprocess, or
read from it, but not both.  Are there extra technical difficulties
involved with a two way pipe?

I have a current requirement to create a subprocess (mplayer in slave
mode) and then both write to and read from it.  And it seems to me
that this kind of requirement probably isn't uncommon.

Telford Tendys once posted a possible implementation of this at
http://www.red-bean.com/guile/guile/old/3038.html.  Can anyone see any
problems with that implementation?

Regards,
     Neil



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


             reply	other threads:[~2007-04-26  7:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-26  7:31 Neil Jerram [this message]
2007-04-26 12:25 ` Two way pipe Ludovic Courtès
2007-04-26 20:49   ` Neil Jerram
2007-04-27  8:09     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k5vz7fsb.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).