Skip to content

Instantly share code, notes, and snippets.

Created Jun 19, 2017
What would you like to do?
Bash script to compile the producer code, create the fifo and run the producer and consumer together
#! /usr/bin/bash
gcc producer.c -o producer
mknod myfifo.txt p
python <myfifo.txt &
rm myfifo.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment