From 6b3bda7586a6854e44b84418ec4379654d23464c Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Fri, 5 Jun 2015 11:06:12 +0200 Subject: [PATCH] Fix stdout maxBuffer exceeded --- node_modules/vfs-local/localfs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node_modules/vfs-local/localfs.js b/node_modules/vfs-local/localfs.js index 4a09ddb0..9d7e2f0c 100644 --- a/node_modules/vfs-local/localfs.js +++ b/node_modules/vfs-local/localfs.js @@ -1606,8 +1606,8 @@ module.exports = function setup(fsOptions) { function fetchPid(callback, retries){ if (!retries) retries = 0; - _execFile("ps", ["ax"], - function(err, stdout){ + _execFile("ps", ["ax"], { maxBuffer: 1000 * 1024 }, + function(err, stdout){ var matches = (stdout || "").split("\n").filter(function(line) { return line.indexOf(watchFile) > -1 && !/\-L cloud9[\d\.]+ new/.test(line)