mirror of
https://github.com/zoriya/cish.git
synced 2025-12-06 07:16:16 +00:00
Add websocat
This commit is contained in:
4
runner/.env.example
Normal file
4
runner/.env.example
Normal file
@@ -0,0 +1,4 @@
|
||||
# vi: ft=sh
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
WSURL=""
|
||||
@@ -5,7 +5,7 @@ SCRIPT=$(realpath "$1")
|
||||
cd -- "$(dirname -- "$SCRIPT")"
|
||||
|
||||
exec \
|
||||
3>&1 \
|
||||
3> >(tee >(websocat "$WSURL" > /dev/null) >&1) \
|
||||
2> >(sed -u "s/^/[ERR] /" >&3) \
|
||||
> >(sed -u "s/^/[INF] /" >&3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user