![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| fifo or named pipe working? | lvkchaitanya | UNIX for Dummies Questions & Answers | 1 | 02-06-2008 12:44 PM |
| Pipe data to shell script | tomjones07 | Shell Programming and Scripting | 3 | 03-14-2007 07:50 PM |
| Need help capturing pipe to a file in shell script | heinz | Shell Programming and Scripting | 6 | 11-03-2005 08:27 AM |
| PIPE and FIFO buffer size | Jus | UNIX for Advanced & Expert Users | 1 | 08-20-2004 03:53 PM |
| Pipe & fifo.... | M3xican | High Level Programming | 4 | 07-20-2002 07:22 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Reading from blocking fifo pipe in shell script
Hi!!
I have a problem reading from a fifo pipe in shell script. The idea is simple, I have a C program with two pipe files:
The problem is in the cat output.pipe After output the data the cat process remains blocked (like a "tail -f") waiting for data. It's possible to avoid this state?? (It's possible the cat terminates when the pipe not contains more data? Something like non-blocking read) Thank you very much |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|