Files
micro-frontend/listen-pipe.sh
supphakitd 291485f7b7
All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 7m22s
Build Docker Image / Restart Docker Compose (push) Successful in 1s
Workflow: added execpipe/hostpipe from micro-service-api
Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
2025-11-24 15:34:03 +07:00

6 lines
149 B
Bash

#!/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