public JavaAutoUpdater(ConfigServiceClient configServiceClient, String artifactId, String workingDirectory, String clientName) {
this.configServiceClient = configServiceClient;
this.artifactId = artifactId;
this.clientName = clientName;
processHolder = new ApplicationProcess();
<BUG>processHolder.setWorkingDirectory(new File(workingDirectory));
}</BUG>
public void start(int updateInterval, int isRunningInterval) {
<BUG>DuplicateProcessHandler.killExistingProcessIfRunning();
</BUG>
if (configServiceClient.getApplicationState() == null) {

public JavaAutoUpdater(ConfigServiceClient configServiceClient, String artifactId, String workingDirectory, String clientName) {
this.configServiceClient = configServiceClient;
this.artifactId = artifactId;
this.clientName = clientName;
processHolder = new ApplicationProcess();
processHolder.setWorkingDirectory(new File(workingDirectory));
duplicateProcessHandler = new DuplicateProcessHandler(new ProcessAdapter());
}
public void start(int updateInterval, int isRunningInterval) {
duplicateProcessHandler.killExistingProcessIfRunning();
if (configServiceClient.getApplicationState() == null) {
