launch: Add support for PATH searching
This commit is contained in:
parent
eab44307f0
commit
06b8a41d2f
@ -31,7 +31,7 @@ Result<void> handle_launch_detached_message(os::IPC::ClientConnection& client)
|
||||
|
||||
StringView args[] = { path.view() };
|
||||
|
||||
os::Process::spawn(args[0], { args, 1 }, false);
|
||||
os::Process::spawn(args[0], { args, 1 }, request.search_in_path);
|
||||
|
||||
return {};
|
||||
}
|
||||
|
@ -25,6 +25,7 @@ namespace os
|
||||
static constexpr u8 ID = LAUNCH_DETACHED_ID;
|
||||
|
||||
IPC_STRING(command);
|
||||
bool search_in_path { false };
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user