Dave Smith wrote: > I'm writing a bash script that communicates with a daemon process using > a fifo. I am trying to bulletproof the script to safeguard myself if the > daemon process crashes before it starts writing to the fifo.
Hmm. You might need to look into Perl or Python. Use ioctl to use non-blocking mode. With threads also timeouts are pretty easy in these languages. With bash, I'm not sure you'll find a good solution. /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
