fix: inherit process environment and untrack libc objects
This commit is contained in:
@@ -15,7 +15,7 @@ extern "C" {
|
||||
* Limitations (kernel spawn model):
|
||||
* - argv is joined into a single args string; arguments containing
|
||||
* spaces are rejected with EINVAL (no quoting in the kernel).
|
||||
* - envp is ignored (no environment transfer on spawn).
|
||||
* - envp is copied into the child; NULL inherits the current environment.
|
||||
* - file actions must be empty: stdio redirection needs kernel
|
||||
* support that does not exist yet, so any recorded action makes
|
||||
* posix_spawn fail with ENOTSUP rather than misbehave silently.
|
||||
|
||||
Reference in New Issue
Block a user