From 9771fa13604013fc17b866ffb3912bb86849f76d Mon Sep 17 00:00:00 2001 From: supphakitd <67319010028@technictrang.ac.th> Date: Mon, 24 Nov 2025 15:32:35 +0700 Subject: [PATCH] listen-pipe.sh: added execpipe maker, for communicate with workflow and hostsys Signed-off-by: supphakitd <67319010028@technictrang.ac.th> --- listen-pipe.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 listen-pipe.sh diff --git a/listen-pipe.sh b/listen-pipe.sh new file mode 100644 index 0000000..cba1ee8 --- /dev/null +++ b/listen-pipe.sh @@ -0,0 +1,6 @@ +#!/bin/bash +trap "rm -f $HOME/execpipe" EXIT +trap "rm -f $HOME/execpipe" ERR + +mkfifo $HOME/execpipe +while true; do eval "$(cat $HOME/execpipe)"; done \ No newline at end of file