Answer the question
In order to leave comments, you need to log in
Why does the application close after being launched via execFile?
I am writing an application using Electron, I need to launch another program from the application, which, in turn, launches another one, closing itself. It's Mod Organizer, if that's anything to say. It runs games like Skyrim and Oblivion. So here is the game launch shortcut inside contains the command
"D:\Oblivion\Mod Organizer\ModOrganizer.exe" "D:\Oblivion\obse_loader.exe"
execFile('D:\\Oblivion\\Mod Organizer\\ModOrganizer.exe', ['D:\\Oblivion\\obse_loader.exe'], { cwd: 'D:\\Oblivion')
exec('"D:\\Oblivion\\Mod Organizer\\ModOrganizer.exe" D:\\Oblivion\\obse_loader.exe', { cwd: 'D:\\Oblivion')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question