Files
AnyPS5/docs/dev/debt/changes/feat-libkernel-exec-variadic.md
gnavarro24 65eaf885f8 feat(libkernel): implement execl, execle and execlp (#26238)
* feat(libkernel): implement execl, execle and execlp
* fix(libkernel): throw NotImplemented for execl, execle and execlp on Windows
* fix(libkernel): read execl, execle and execlp arguments in place and implement them on Windows
* test(libkernel): cover execl arguments past the register slots
* chore: rerun the checks
2026-11-26 15:52:45 +13:00

576 B

libkernel

add Functional

  • execl, execle and execlp (libkernel) - collect the variadic arguments as POSIX.1-2008 specifies, reading them in place, then call execv, execve or execvp. On Windows the arguments are read with the System V layout that guest variadic functions use, as the libc formatting code does. The console's process model and the variadic argument layout of guest callers are unverified. The test checks the failure paths, where argument and environment layout decide the reported errno.