瀏覽代碼

Cleanup for stdio

master
pb 2 年之前
父節點
當前提交
473ba530a9
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 3
    3
      bin/elxr
  2. 1
    1
      index.js

+ 3
- 3
bin/elxr 查看文件

npmcmd npmcmd
, npmrun.concat(process.argv.slice(2)), { , npmrun.concat(process.argv.slice(2)), {
env, cwd: __dirname 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( // const child = spawn(

+ 1
- 1
index.js 查看文件

var Tasq = utils.Tasq var Tasq = utils.Tasq
var statuslog = utils.Traq var statuslog = utils.Traq
var Traq = 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. var ENV = Object.assign({}, process.env); // Shallow clone so we can set values and reuse for reshelling spawns.

Loading…
取消
儲存