diff options
author | epoch <epoch@hacking.allowed.org> | 2020-04-02 02:40:40 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-04-02 02:40:40 -0500 |
commit | 906c6c4a25fe0542c9741f49d4fcb74b5e5c39b8 (patch) | |
tree | 9df0cfbbb62f734664a2297fb5549f7148bfdaff /share/hackvr | |
parent | 71886960c496c867cef03e0c1e154f8fb9d58275 (diff) | |
download | hackvr-906c6c4a25fe0542c9741f49d4fcb74b5e5c39b8.tar.gz hackvr-906c6c4a25fe0542c9741f49d4fcb74b5e5c39b8.zip |
changed a couple old scripts to not used a named pipe anymore
Diffstat (limited to 'share/hackvr')
-rwxr-xr-x | share/hackvr/examples/draw/run | 2 | ||||
-rwxr-xr-x | share/hackvr/examples/tictactoe/run | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/share/hackvr/examples/draw/run b/share/hackvr/examples/draw/run index f14b415..699a38c 100755 --- a/share/hackvr/examples/draw/run +++ b/share/hackvr/examples/draw/run @@ -1,3 +1,3 @@ #!/bin/sh mknod p p -cat p | tee /dev/stderr | ./draw.sh | hackvr $USER > p +hackvr_coproc ./draw.sh diff --git a/share/hackvr/examples/tictactoe/run b/share/hackvr/examples/tictactoe/run index 46a5b44..bf9c87a 100755 --- a/share/hackvr/examples/tictactoe/run +++ b/share/hackvr/examples/tictactoe/run @@ -1,4 +1,4 @@ #!/usr/bin/env bash turn=$( expr $RANDOM % 2) echo "go. player: $turn" -socat exec:./game.sh exec:hackvr +hackvr_coproc ./game.sh |