Updated exec call for terminal

Signed-off-by: French Ben <me+git@frenchben.com>
This commit is contained in:
French Ben 2016-02-11 13:03:26 -08:00
parent c64b899259
commit dfdf9e326e
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ var DockerMachine = {
cmd = cmd || process.env.SHELL;
var terminal = util.isLinux() ? util.linuxTerminal() : path.join(process.env.RESOURCES_PATH, 'terminal');
if (terminal) {
util.exec([terminal, cmd]).then(() => {});
util.execFile([terminal, cmd]).then(() => {});
}
} else {
cmd = cmd || process.env.SHELL;