Pause automated builds while updating the image, and improve VNC startup/logging with a one-way clipboard bridge for reliable browser sync.
6 lines
148 B
Bash
6 lines
148 B
Bash
#!/bin/bash
|
|
# Wrapper script to prefix output with program name
|
|
PROGRAM_NAME="$1"
|
|
shift
|
|
exec "$@" 2>&1 | stdbuf -oL -eL sed "s/^/[$PROGRAM_NAME] /"
|