Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-01-2006, 03:34 AM   #1
LQ Newbie
Registered: Dec 2005
Distribution: Gentoo
Posts: 12

Rep: Reputation: 0
Bi-directional pipelines

I have two programs, say prog1 and prog2. I want to send the standard output of prog1 to the standard input of prog2 and the standard output of prog2 to the standard input of prog1. I know that this can be accomplished by using fifos and more than one consoles but I was wondering if this can be done with only one console.
Old 09-01-2006, 04:43 AM   #2
Registered: Jul 2006
Distribution: Source Mage 0.9.6
Posts: 196

Rep: Reputation: 30
I found this it may be what you're looking for if you don't mind C code (and really, who minds C code right?) There is a shell script version also at this page, but it uses the aforementioned fifos(it does not however mention anything about extra consoles, so you might look through the script and see if it is was you are after)
Old 09-03-2006, 03:02 PM   #3
LQ Newbie
Registered: Dec 2005
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks debiant!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pixel pipelines? tnelson42345 Linux - Hardware 1 11-12-2005 12:25 PM
6800LE unlocking pipelines and shaders Sapphire Linux - Software 1 12-29-2004 02:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration