binary lookup path

This commit is contained in:
Alex Dadgar
2016-03-19 12:18:10 -07:00
parent 0b15e8da29
commit 74ad85e33d
9 changed files with 96 additions and 46 deletions

View File

@@ -172,7 +172,7 @@ func (d *JavaDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle,
ps, err := execIntf.LaunchCmd(&executor.ExecCommand{Cmd: absPath, Args: args}, executorCtx)
if err != nil {
pluginClient.Kill()
return nil, fmt.Errorf("error starting process via the plugin: %v", err)
return nil, err
}
d.logger.Printf("[DEBUG] driver.java: started process with pid: %v", ps.Pid)