wasix-org/wasix-docs

Feedback for “Proc Spawn”

Opened this issue · 0 comments

It's not clear how a spawned process is assigned its environment using this API. Is it automatically inherited as a copy from the parent? What if some pruning or isolation is wanted?

Are there provisions for adjusting the pre-opened directories and mapped directories based on the namespace of the parent process? What if one wants to map certain directories from the parent's namespace into a certain location in the child?

Also, what do the values for the handling of stdin/stdout/stderr mean? How does one use them?