mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:27:45 +00:00
Taskbar: Disown quick-launched programs
This commit is contained in:
parent
7219f069a5
commit
edefcc7f3a
1 changed files with 6 additions and 2 deletions
|
@ -37,6 +37,7 @@
|
||||||
#include <LibGUI/Window.h>
|
#include <LibGUI/Window.h>
|
||||||
#include <LibGUI/WindowServerConnection.h>
|
#include <LibGUI/WindowServerConnection.h>
|
||||||
#include <LibGfx/Palette.h>
|
#include <LibGfx/Palette.h>
|
||||||
|
#include <serenity.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
//#define EVENT_DEBUG
|
//#define EVENT_DEBUG
|
||||||
|
@ -126,6 +127,9 @@ void TaskbarWindow::create_quick_launch_bar()
|
||||||
execl(app_executable.characters(), app_executable.characters(), nullptr);
|
execl(app_executable.characters(), app_executable.characters(), nullptr);
|
||||||
perror("execl");
|
perror("execl");
|
||||||
ASSERT_NOT_REACHED();
|
ASSERT_NOT_REACHED();
|
||||||
|
} else {
|
||||||
|
if (disown(pid) < 0)
|
||||||
|
perror("disown");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue