Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Options for IPC between bash processes under cygwin

0 views
Skip to first unread message

Jon Seymour

unread,
Dec 4, 2009, 6:00:05 PM12/4/09
to bug-...@gnu.org
I'd like to dispatch commands from one light-weight bash process to a
longer running bash process which takes longer to initialize [ I have
a _big_ library of bash functions ].

On Linux or any reasonable OS, I could do this remote dispatch easily
with named pipes, but these don't exist on cygwin.

I'd be interested to know if there are any good solutions to this
problem already in existence.

jon.


Eric Blake

unread,
Dec 4, 2009, 7:54:24 PM12/4/09
to Jon Seymour, bug-...@gnu.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jon Seymour on 12/4/2009 4:00 PM:


> On Linux or any reasonable OS, I could do this remote dispatch easily
> with named pipes, but these don't exist on cygwin.

That's where you're wrong. Named pipes DO exist on cygwin, although there
are still some bugs being hammered out when trying to have multiple
simultaneous writers to a named pipe. Also, whereas you can do <>pipe on
Linux, that won't work on cygwin (where named pipes must be read-only owr
write-only).

- --
Don't work too hard, make some time for fun as well!

Eric Blake eb...@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksZr0AACgkQ84KuGfSFAYBnbgCeMS9E6jFwocHi4WbOBKk+OTmH
G/0AoNZjXu/8oytboSqzbX2VIW9i1UIb
=PKzk
-----END PGP SIGNATURE-----


Jon Seymour

unread,
Dec 4, 2009, 8:49:15 PM12/4/09
to Eric Blake, bug-...@gnu.org
Oh, cool. Thanks for correcting me!

jon.

0 new messages