const runDjangoServer = async () => {
-----------------------------------------------------------------
if (isDev) {
const exeFile = path.join(__dirname, "../../runserver/runserver.exe");
return exec(exeFile, function (err, data) {});
}
---------------------------------------------------------------------------------
else {
const exeFile = path.join(process.resourcesPath, "/server/runserver.exe");
return exec(exeFile, function (err, data) {});
}
==============================================================================
};
I want to not open the command prompt when i open electron app and load my data when electron is open