launcher.sh 322 Bytes
Newer Older
1 2
#!/bin/sh

3 4 5
####################
# Main Script
####################
6 7 8 9 10 11 12 13 14
#gnome-terminal -e $(dirname $0)/$1

if [ -x "/usr/bin/x-terminal-emulator" ];
then
 TERMNAME="/usr/bin/x-terminal-emulator"
else
 TERMNAME="gnome-terminal"
fi
$TERMNAME -e "$1" &
15 16 17 18 19 20

#if [ "$2" = "1" ]
#then
#  echo "Hit a key to continue ..."
#  Pause
#fi