I have a bash script that is a watchdog for a perl script. It checks to see if the perl script is running if it isn't I want it to start it in a console. To run the perl script directly from a console I use
usr/bin/xterm -e perl /path/to/file/script.pl
How would I get this to launch within a bash script?
/usr/bin/xterm? If so, what happens when you add just this exact line to your Bash script?