#open a .exe file with a button

13 messages · Page 1 of 1 (latest)

subtle ocean
#

hi guys
im new to electron
i wanna make a button that opens notepad++ for example
i cant find anything that works

golden cloak
#

does every single user of your app already have notepad++ installed?

subtle ocean
#

notepad is just an example

golden cloak
#

an easy way would be to use nodejs child processes to spawn your other apps

subtle ocean
#

do you have an example i can follow or documentation plz?

#

ohh thanks

golden cloak
#

electron's main process has access to node.js so you would just call that from there

#

if you need to handle the interaction from your html ui, look into sending an IPC message from your renderer process to the main process.

subtle ocean
#

thanks i will try to work on it tomorrow , im so feeling sleepy now XD

golden cloak
#

good night bunnySleeping

subtle ocean