Signed-off-by: Darren Stahl <darst@microsoft.com>
| ... | ... |
@@ -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 |