On Wed, 17 Aug 2016 09:56:58 -0400 "Thompson, David" <dthomps...@worcester.edu> wrote: > On Wed, Aug 17, 2016 at 9:35 AM, Tobias Reithmaier > <tobi3...@yahoo.de> 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 ( http://www.nongnu.org/guile-lib/doc/ref/os.process/ ). 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). Chris