Taskbar: Disown quick-launched programs

This commit is contained in:
Andreas Kling 2020-08-04 13:53:43 +02:00
parent 7219f069a5
commit edefcc7f3a

View file

@ -37,6 +37,7 @@
#include <LibGUI/Window.h>
#include <LibGUI/WindowServerConnection.h>
#include <LibGfx/Palette.h>
#include <serenity.h>
#include <stdio.h>
//#define EVENT_DEBUG
@ -126,6 +127,9 @@ void TaskbarWindow::create_quick_launch_bar()
execl(app_executable.characters(), app_executable.characters(), nullptr);
perror("execl");
ASSERT_NOT_REACHED();
} else {
if (disown(pid) < 0)
perror("disown");
}
};