libos: Remove debug statements from Process::spawn()
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-08-07 22:53:37 +02:00
parent 77ebdda2e0
commit 2e63b93e48
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -8,7 +8,6 @@
*/
#include <errno.h>
#include <luna/DebugLog.h>
#include <os/Process.h>
#include <stdlib.h>
#include <sys/syscall.h>
@ -93,16 +92,9 @@ namespace os
Result<pid_t> Process::spawn(StringView path, Slice<StringView> args, bool search_in_path)
{
Vector<const char*> 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<char**>(argv.data()), environ);
return do_spawn(path.chars(), const_cast<char**>(argv.data()), environ, search_in_path);
}