From 4a080b8f4f061f1c7cbf0d6d996d535dc3f2db35 Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 19 Dec 2017 03:55:35 -0600 Subject: make scripts create their own named pipes and attempt to rm them --- tictactoe/run | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tictactoe/run') diff --git a/tictactoe/run b/tictactoe/run index c38c9cc..f470780 100755 --- a/tictactoe/run +++ b/tictactoe/run @@ -1,4 +1,6 @@ #!/bin/bash turn=$( expr $RANDOM % 2) echo "go. player: $turn" +mknod p p stdbuf -oL cat board p | ../src/hackvr_x11 "$USER" | ./game.sh > p +rm p -- cgit v1.2.3