瀏覽代碼

Cleanup for stdio

master
pb 1 年之前
父節點
當前提交
473ba530a9
共有 2 個檔案被更改,包括 4 行新增4 行删除
  1. 3
    3
      bin/elxr
  2. 1
    1
      index.js

+ 3
- 3
bin/elxr 查看文件

@@ -21,9 +21,9 @@ const child = spawn(
npmcmd
, npmrun.concat(process.argv.slice(2)), {
env, cwd: __dirname
, stdio: ['pipe', process.stdout, process.stderr],
inherit: true,
shell: true,
, stdio: [process.stdin, process.stdout, process.stderr]
, inherit: true
, shell: true
});

// const child = spawn(

+ 1
- 1
index.js 查看文件

@@ -15,7 +15,7 @@ var any = utils.any;
var Tasq = utils.Tasq
var statuslog = utils.Traq
var Traq = utils.Traq
console.error('EEEEEEEEEEEEEEEEEEEE')
// console.error('EEEEEEEEEEEEEEEEEEEE')


var ENV = Object.assign({}, process.env); // Shallow clone so we can set values and reuse for reshelling spawns.

Loading…
取消
儲存