diff --git a/apps/launch.cpp b/apps/launch.cpp index 9189e32d..3282bc7c 100644 --- a/apps/launch.cpp +++ b/apps/launch.cpp @@ -31,7 +31,7 @@ Result 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 {}; } diff --git a/libos/include/os/ipc/Launcher.h b/libos/include/os/ipc/Launcher.h index 9c21a56e..1d97269f 100644 --- a/libos/include/os/ipc/Launcher.h +++ b/libos/include/os/ipc/Launcher.h @@ -25,6 +25,7 @@ namespace os static constexpr u8 ID = LAUNCH_DETACHED_ID; IPC_STRING(command); + bool search_in_path { false }; }; } }