Pthread multi
[mirrors/Programs.git] / c / vizionix / getxsock.sh
CommitLineData
b712444b 1#!/bin/bash
fee6ec9e
TM
2TMPFILE="/tmp/xsock-$USER";
3[ -f "$TMPFILE" ] && . "$TMPFILE"
4[ -n "$XSOCK_PID" ] && kill -0 "$XSOCK_PID" 2>/dev/null || {
b712444b 5 PATH="./:$PATH"
8df8aca0 6 eval "$(mkxsock $@ | tee $TMPFILE)"
fee6ec9e 7 echo "XSOCK_PID set to $XSOCK_PID" >&2
b712444b
TM
8}
9export XSOCK_PID XSOCK_WID
This page took 0.828672 seconds and 4 git commands to generate.