We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d05416 commit e96751eCopy full SHA for e96751e
1 file changed
tools/pylauncher/pylauncher.c
@@ -157,7 +157,7 @@ static const wchar_t* get_script_path(const wchar_t* launcher_path) {
157
return script_path_tools;
158
}
159
160
-int main() {
+void main() {
161
// Setting EMCC_LAUNCHER_DEBUG enabled debug output for the launcher itself.
162
launcher_debug = GetEnvironmentVariableW(L"EMCC_LAUNCHER_DEBUG", NULL, 0);
163
@@ -229,5 +229,5 @@ int main() {
229
CloseHandle(pi.hThread);
230
231
dbg("pylauncher: done: %d\n", exit_code);
232
- return exit_code;
+ ExitProcess(exit_code);
233
0 commit comments