#!/bin/sh

zoid=${0%/*}/zoid

if [ $DISPLAY ]
then exec xterm -bg black -fg white -e $zoid "$@"
else exec $zoid "$@"
fi

echo "Could not exec: $zoid $@" 1>&2
exit 1
