tinygo-org / tinygo

Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
https://tinygo.org
Other
15.25k stars 900 forks source link

os/exec: Process rework #4471

Open leongross opened 2 weeks ago

leongross commented 2 weeks ago

While working on os.StartProcess we realized, that the current process model is (almost) entirely stubbed out.

Retrieving exit status information and other useful information requires a rework of the current process model (right now the only information we keep track of is the pid). To keep this streamlined and simpler than the golang implementation we should discuss the necessary functionality this new process model should provide.