add nofork parameter to dedibuild

This commit is contained in:
Alug committed 2025-05-28 23:58:10 +02:00
1 parent 393ade780c
commit 7c34733eea
1 file changed
+4 -1
+4 -1
View File
@@ -1439,7 +1439,10 @@ INT32 I_StartupSystem(void)
{
I_StartupConsole();
#ifdef NEWSIGNALHANDLER
I_Fork();
// This is useful when debugging. It lets GDB attach to
// the correct process easily.
if (!M_CheckParm("-nofork"))
I_Fork();
#endif
#ifdef HAVE_THREADS
I_start_threads();