[Top][All Lists]

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

Re: fork pipe dup2 exec

From: Chris Vine
Subject: Re: fork pipe dup2 exec
Date: Wed, 17 Aug 2016 15:09:28 +0100

On Wed, 17 Aug 2016 09:56:58 -0400
"Thompson, David" <address@hidden> wrote:
> On Wed, Aug 17, 2016 at 9:35 AM, Tobias Reithmaier
> <address@hidden> wrote:
> > Hello,
> >
> > is there a way to program a Inter Process Communication (IPC) in
> > guile like you do it with the Linux-Libc-API with the combo fork,
> > pipe, dup2 and exec? If you use the popen-module it's not the same
> > because you have to wait until the program has finished.
> > But there are use-cases in that the program doesn't finish. e.g. a
> > server which outputs data every minute.
> >
> > So can i use the popen-module to control such a server with pipes?
> > Or is there another way?  
> Check out the "POSIX" section of the manual. Fork, dup, and exec are
> all available.

Tobias might also want to consider the run-with-pipe procedure, and the
run-concurrently+ procedure (with tail-call-program), as provided by
guile-lib ( ).

Tobias looks as if he has posted to the wrong newsgroup.  Follow ups
should I think go to guile-user (but I have not set them).


reply via email to

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