简体   繁体   中英

open word application inside electron/node js desktop application

I'm new to electron(node.js) desktop application. I'm trying to find a way open word application(which is already available in that particular pc or mac) inside the electron desktop application browser-window. Any help is much appreciated.

You can use shell.openItem() to open a Word file in Word (assuming Word is the default application for that file extension). Failing that you can always fall back to launching any application you want via Node's child process API .

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