Skip to content

Commit

Permalink
shell: Spawn commands with interactive shell
Browse files Browse the repository at this point in the history
  • Loading branch information
mildsunrise committed Jul 9, 2017
1 parent 4899f12 commit 722e259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function Command(reply, context, command) {
this.startTime = Date.now();
this.reply = reply;
this.command = command;
this.pty = pty.spawn(context.shell, ["-c", command], {
this.pty = pty.spawn(context.shell, ["-ic", command], {
cols: context.size.columns,
rows: context.size.rows,
cwd: context.cwd,
Expand Down

0 comments on commit 722e259

Please sign in to comment.