}
}
if (_watchdog.getUserName() != null) {
if (_watchdog.isConsole())
throw new ConfigException(L.l("<user-name> requires compiled JNI started with 'start'. Resin cannot use <user-name> when started as a console process."));
else
throw new ConfigException(L.l("<user-name> requires compiled JNI."));
}
if (_watchdog.getGroupName() != null) {
if (_watchdog.isConsole())
throw new ConfigException(L.l("<group-name> compiled JNI started with 'start'. Resin cannot use <group-name> when started as a console process."));
else
throw new ConfigException(L.l("<group-name> compiled JNI."));
}
ProcessBuilder builder = new ProcessBuilder();
builder.directory(new File(processPwd.getNativePath()));