2
0

spawnl is a deprecated alias

See https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/spawnl?view=vs-2019
This commit is contained in:
Markus Olsson
2020-09-24 14:31:07 +02:00
parent cb087db888
commit 4cda0a6ff3

View File

@@ -39,7 +39,7 @@ int main(int argc, char **argv)
putenv("ELECTRON_NO_ATTACH_CONSOLE=1");
#if WINDOWS
err = spawnl(_P_WAIT, desktopPath, desktopPath, desktopAskPassScriptPath, argv[1], NULL);
err = _spawnl(_P_WAIT, desktopPath, desktopPath, desktopAskPassScriptPath, argv[1], NULL);
#else
err = execl(desktopPath, desktopPath, desktopAskPassScriptPath, argv[1], NULL);
#endif