Elixir/Ports and external process wiring: Difference between revisions
m Adamw moved page Draft:Elixir/Ports and external process wiring to Elixir/Ports and external process wiring |
future directions section |
||
| Line 136: | Line 136: | ||
}} | }} | ||
Discussion threads also included some notable grumbling about the Port API in general, it seems this part of ERTS is overdue for a larger redesign. | == Future directions == | ||
Discussion threads also included some notable grumbling about the Port API in general, it seems this part of ERTS is overdue for a larger redesign. | |||
There's a good opportunity to unify the different platform implementations: Windows lacks the erl_child_setup layer entirely, for example. | |||
Another idea to borrow from the erlexec library is to have an option to kill the entire process group of a child, which is shared by any descendants that haven't explicitly broken out of its original group. This would be useful for managing deep trees of external processes launched by a forked command. | |||
== References == | == References == | ||