Browse code

Typo in previous PR processConfig, not c.ProcessConfig

Signed-off-by: Darren Stahl <darst@microsoft.com>

Darren Stahl authored on 2015/11/17 04:56:01
Showing 1 changed files
... ...
@@ -30,10 +30,11 @@ func (d *Driver) Exec(c *execdriver.Command, processConfig *execdriver.ProcessCo
30 30
 		WorkingDirectory: c.WorkingDir,
31 31
 	}
32 32
 
33
-	// Configure the environment for the process // Note NOT c.ProcessConfig.Tty
33
+	// Configure the environment for the process // Note NOT c.ProcessConfig.Env
34 34
 	createProcessParms.Environment = setupEnvironmentVariables(processConfig.Env)
35 35
 
36
-	createProcessParms.CommandLine, err = createCommandLine(&c.ProcessConfig, c.ArgsEscaped)
36
+	// Create the commandline for the process // Note NOT c.ProcessConfig
37
+	createProcessParms.CommandLine, err = createCommandLine(processConfig, false)
37 38
 
38 39
 	if err != nil {
39 40
 		return -1, err