From cdfc19414c2206439744ddb938b829ac18283436 Mon Sep 17 00:00:00 2001 From: nightwing Date: Sat, 22 Aug 2015 16:15:38 +0000 Subject: [PATCH] workaround for pty not working on windows --- plugins/c9.fs/proc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/c9.fs/proc.js b/plugins/c9.fs/proc.js index d4a1c9e3..6c6822d9 100644 --- a/plugins/c9.fs/proc.js +++ b/plugins/c9.fs/proc.js @@ -346,7 +346,7 @@ define(function(require, exports, module) { * @fires afterPty */ pty: function(path, options, callback) { - if (installMode) { + if (installMode || options.fakePty) { plugin.spawn(path, options, function(err, process){ if (err) return callback(err); callback(null, new ProcessToPty(process));