From 906c6c4a25fe0542c9741f49d4fcb74b5e5c39b8 Mon Sep 17 00:00:00 2001 From: epoch Date: Thu, 2 Apr 2020 02:40:40 -0500 Subject: changed a couple old scripts to not used a named pipe anymore --- share/hackvr/examples/draw/run | 2 +- share/hackvr/examples/tictactoe/run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'share/hackvr/examples') 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 -- cgit v1.2.3