summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-05-18 18:47:17 -0500
committerepoch <epoch@hacking.allowed.org>2019-05-18 18:47:17 -0500
commitfe1c6c2c16ce0a36840814fd1f9be6728b22b990 (patch)
treeda5e2e5edf6f0050489200561111199a9d011e93
parent85eafd1ea7ad12a983f99fd9c9c8affcec8d43aa (diff)
downloadhackvr-fe1c6c2c16ce0a36840814fd1f9be6728b22b990.tar.gz
hackvr-fe1c6c2c16ce0a36840814fd1f9be6728b22b990.zip
switched run script for tictactoe to use socat
-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