I am looking for a way to run an Electron app (npm start
command) independently of the terminal itself. Meaning that I expect the Electron app to keep running even if the terminal closes..
I am not sure whether it is possible.
I have tried cd electron-directory-path && nohup npm start &
, but this though allows me to use the terminal instance for other commands and prevents any electron messages from popping up in the terminal. But, closing the terminal still kills the Electron app.
Even cd electron-directory-path && npm start &
does the same thing, but I haven't yet been able to find a way to run the Electron app completely independent of the terminal instance...