summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/tictactoe
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/tictactoe')
-rwxr-xr-xshare/hackvr/examples/tictactoe/run4
1 files changed, 1 insertions, 3 deletions
diff --git a/share/hackvr/examples/tictactoe/run b/share/hackvr/examples/tictactoe/run
index 4d49770..46a5b44 100755
--- a/share/hackvr/examples/tictactoe/run
+++ b/share/hackvr/examples/tictactoe/run
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
turn=$( expr $RANDOM % 2)
echo "go. player: $turn"
-mknod p p
-stdbuf -oL p | hackvr | ./game.sh > p
-rm p
+socat exec:./game.sh exec:hackvr