refactor(kernel): remove unnecessary type casting in Execute::Spawn call

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-04-04 11:01:40 +00:00
parent f6eb4bd3dc
commit 120d67fb1a
Signed by: enderice2
GPG Key ID: FEB6B8A8507BA62E

View File

@ -603,8 +603,7 @@ void KShellThread()
if (Config.LinuxSubsystem)
compat = Tasking::Linux;
int ret = Execute::Spawn((char *)path.c_str(), argv, envp,
nullptr, false, compat, false);
int ret = Execute::Spawn(path.c_str(), argv, envp, nullptr, false, compat, false);
if (argv[1])
delete argv[1];
delete argv;