Use spawn with shell:true, detached:true and still get on data event on stdout

后端 未结 0 1927
离开以前
离开以前 2021-01-19 23:51

I have this script that reads WASD keys and prints to console:

const keypress = require(\'keypress\');

// make `process.stdin` begin emitting "keypress&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题