guile-devel
[Top][All Lists]
Advanced

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

Re: fork pipe dup2 exec


From: Thompson, David
Subject: Re: fork pipe dup2 exec
Date: Wed, 17 Aug 2016 09:56:58 -0400

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.

- Dave



reply via email to

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