Categories
Linux Mastering Development

Command to create/connect to an I/O stream?

So I’m trying to connect to a (Lua) debugger embedded in a program by redirecting the I/O. Currently I create a pair of FIFOs for the read and write streams and connect to them using cat /tmp/dbg_write & cat > /tmp/dbg_read. This is workable and pretty straightforward, but if you don’t exit everything just right […]