Menu

#120 last line of tuxguitar.sh launch script should start with 'exec'

v1.0 (example)
open
nobody
None
5
2020-04-18
2020-04-18
Houston4444
No

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.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB