listen-pipe.sh: added execpipe maker, for communicate with workflow and hostsys
All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 3m38s
Build Docker Image / Restart Docker Compose (push) Successful in 0s

Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
This commit is contained in:
2025-11-24 15:32:35 +07:00
parent 5a1ed0887e
commit 9771fa1360

6
listen-pipe.sh Normal file
View File

@@ -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