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" \
|
export CLASSPATH="$CLASSPATH:@DSLC_CLASSPATH@:$dslc_jar"
|
||||||
"@JAVA@" @JAVA_OPTS@ $JAVA_OPTS \
|
exec "@JAVA@" @JAVA_OPTS@ $JAVA_OPTS \
|
||||||
com.lovullo.dslc.DslCompiler \
|
com.lovullo.dslc.DslCompiler \
|
||||||
"$( rater-path )"
|
"$( rater-path )"
|
||||||
|
|
Loading…
Reference in New Issue