Instantly share code, notes, and snippets.

@buxtonpaul buxtonpaul/run.sh
Created Jun 19, 2017

Embed
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 consumer.py <myfifo.txt &
./producer
rm myfifo.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment