dscl: Replace process with `java`
This uses `exec` so that the process is replaced, simplifying process management (we don't have to worry that the script will die but leave the child hanging). I'm not sure why I didn't do this originally. DEV-10806main
parent
3d8c4d1ed0
commit
b8a36ec984
|
@ -36,7 +36,7 @@ rater-path()
|
|||
}
|
||||
|
||||
|
||||
CLASSPATH="$CLASSPATH:@DSLC_CLASSPATH@:$dslc_jar" \
|
||||
"@JAVA@" @JAVA_OPTS@ $JAVA_OPTS \
|
||||
export CLASSPATH="$CLASSPATH:@DSLC_CLASSPATH@:$dslc_jar"
|
||||
exec "@JAVA@" @JAVA_OPTS@ $JAVA_OPTS \
|
||||
com.lovullo.dslc.DslCompiler \
|
||||
"$( rater-path )"
|
||||
|
|
Loading…
Reference in New Issue