last line of tuxguitar.sh launch script should start with 'exec'
Status: Beta
Brought to you by:
akdmia
Hi.
last line of tuxguitar.sh launch script should start with 'exec'.
So it should be:
exec ${JAVA} ${VM_ARGS} -cp :${CLASSPATH} -Dtuxguitar.home.path="${DIR_NAME}" -Dtuxguitar.share.path="share/" -Djava.library.path="${LD_LIBRARY_PATH}" ${MAINCLASS} "$1" "$2"
instead of:
${JAVA} ${VM_ARGS} -cp :${CLASSPATH} -Dtuxguitar.home.path="${DIR_NAME}" -Dtuxguitar.share.path="share/" -Djava.library.path="${LD_LIBRARY_PATH}" ${MAINCLASS} "$1" "$2"
the problem is: if tuxguitar is launched in a program subprocess, tuxguitar doesn't stop when script receives SIGINT or SIGTERM.