Fix stdout maxBuffer exceeded

pull/117/merge
Lennart Kats 2015-06-05 11:06:12 +02:00
rodzic 4fd895ff4e
commit 6b3bda7586
1 zmienionych plików z 2 dodań i 2 usunięć

4
node_modules/vfs-local/localfs.js wygenerowano vendored
Wyświetl plik

@ -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)