-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Description
In a client project, we have a server that for performance reasons must not call fork under any circumstances (it has a very large resident set). Unfortunately since the removal of vfork, this has been hard to arrange (cf. #303), because the conditions under which posix_spawn works are opaque and if any of them fail, the code automatically falls back on fork. In our case it would be preferable for the whole createProcess call to fail.
Could process provide an option to disable the fork-exec path? Specifying this at compile time or even configure time is fine; I'm not sure if there is an easy way to override configure to treat fork as not available?
Metadata
Metadata
Assignees
Labels
No labels