Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
比如microsip,我安装了它,我可以在powershell中使用它,就像使用下面的脚本打开microsip
PS G:\yyy> microsip
但是当我使用 shelljs
const shell = require('shelljs') shell.exec('microsip')
它会返回错误:
UnhandledPromiseRejectionWarning: ReferenceError: microsip is not defined