LibCore: Remove unused KeepAsChild and disown mechanisms

Those went unused and did nothing on systems other than SerenityOS.
This commit is contained in:
Undefine 2025-08-13 14:02:29 +02:00 committed by Jelle Raaijmakers
parent 7a9dd46a39
commit 769bbe6021
Notes: github-actions[bot] 2025-11-07 10:29:22 +00:00
4 changed files with 7 additions and 44 deletions

View file

@ -77,7 +77,7 @@ ErrorOr<Process> Process::spawn(ProcessSpawnOptions const& options)
return Process(process_info.hProcess);
}
ErrorOr<Process> Process::spawn(StringView path, ReadonlySpan<ByteString> arguments, KeepAsChild)
ErrorOr<Process> Process::spawn(StringView path, ReadonlySpan<ByteString> arguments)
{
return spawn({
.executable = path,
@ -85,7 +85,7 @@ ErrorOr<Process> Process::spawn(StringView path, ReadonlySpan<ByteString> argume
});
}
ErrorOr<Process> Process::spawn(StringView path, ReadonlySpan<StringView> arguments, KeepAsChild)
ErrorOr<Process> Process::spawn(StringView path, ReadonlySpan<StringView> arguments)
{
Vector<ByteString> backing_strings;
backing_strings.ensure_capacity(arguments.size());