简体   繁体   中英

Console in electronjs app

I am creating code editor with electron.js. I would like that user will be able to open console in code editor(not browser console but cmd ). I looked it up in google and i didnt find any clues.

If you want to spawn proces you node's process module .

And if you want to integrate terminal more deeply like in vs code you would have to redirect stdin, stdout and probably stderror.

It's all described in node documentation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM