diff --git a/libos/src/Process.cpp b/libos/src/Process.cpp index af67b900..81a40ee2 100644 --- a/libos/src/Process.cpp +++ b/libos/src/Process.cpp @@ -8,7 +8,6 @@ */ #include -#include #include #include #include @@ -93,16 +92,9 @@ namespace os Result Process::spawn(StringView path, Slice args, bool search_in_path) { Vector argv; - for (const auto& arg : args) - { - TRY(argv.try_append(arg.chars())); - dbgln("os::Process:spawn() adding new argument: %s", arg.chars()); - } + for (const auto& arg : args) { TRY(argv.try_append(arg.chars())); } TRY(argv.try_append(nullptr)); - dbgln("os::Process:spawn() invoking do_spawn(): path=%s, argv=%p, envp=%p", path.chars(), - const_cast(argv.data()), environ); - return do_spawn(path.chars(), const_cast(argv.data()), environ, search_in_path); }