You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eio needs to provide a way to create and manage sub-processes (like Lwt_process).
Must work in programs using multiple domains. Note that Unix.fork cannot be used there.
API should try to prevent bugs with argument splitting (e.g. avoid error-prone Unix.system style API by default). But also needs to work on Windows, where I think you can't provide an argv.
Child processes should be attached to a switch by default to avoid leaking them, but need a way to spawn detached sub-processes too.
Must allow passing pipes, etc, to child processes.
Must prevent accidentally leaking FDs to child processes. All FDs in Eio are already opened with close-on-exec set for this reason.
Should provide a simple way to check or report the process's exit status.
Just a heads up that I've started looking into this as I'm going to need it for some applications I'm building. Hopefully will have a draft PR in the next week or two to iron out the details :))
Polite bump; this would be extremely useful for converting a lot of the ocurrent ecosystem to Eio. The work in ocurrent/obuilder#113 looks great so far!
Eio needs to provide a way to create and manage sub-processes (like
Lwt_process
).Unix.fork
cannot be used there.Unix.system
style API by default). But also needs to work on Windows, where I think you can't provide an argv.Possible sources of inspiration include:
Current status:
The text was updated successfully, but these errors were encountered: