Respect cwd from configs for recording

This commit is contained in:
Mohammad Fares
2019-01-26 16:43:48 +01:00
parent fa7b66cd3a
commit ed1178a65c

View File

@@ -193,7 +193,7 @@ function command(argv) {
var ptyProcess = di.pty.spawn(command, commandArguments, { var ptyProcess = di.pty.spawn(command, commandArguments, {
cols: config.json.cols, cols: config.json.cols,
rows: config.json.rows, rows: config.json.rows,
cwd: config.json.pwd, cwd: config.json.cwd,
env: di.deepmerge(process.env, config.json.env) env: di.deepmerge(process.env, config.json.env)
}); });