Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 549 Bytes

File metadata and controls

9 lines (5 loc) · 549 Bytes

node-fifo-example

Run with npm start

One node.js process will create a named pipe/FIFO, and log out any data written to it. The second node.js process will write to it once a second. A bash script and a C++ program will also write to it once. Look at index.js to see what's going on.

This only works on macOS.

Full context for this repository in this article.