mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
17 lines
277 B
Bash
Executable file
17 lines
277 B
Bash
Executable file
#!/usr/bin/env bash
|
|
exec 1>&2
|
|
|
|
if test -z "$LABWC_PID"; then
|
|
echo "LABWC_PID not set" >&2
|
|
exit 1
|
|
fi
|
|
|
|
echo "Running with pid $LABWC_PID"
|
|
|
|
# Runtime tests
|
|
echo "Executing foot"
|
|
foot sh -c 'sleep 1; exit'
|
|
echo "Foot exited with $?"
|
|
|
|
echo "Killing labwc"
|
|
kill -s TERM $LABWC_PID
|