How to run other program from within Odin

Hi,

Can I run another program from within Odin, similar to what Go’s “os/exec” library allows me to do? I haven’t been able to find much information about it so far.

There is this libc.system (docs).

1 Like

This seems to work pretty well. Is there a way in which I could read the results into a variable?

There is work being done in core:os/os2 specifically under the process_*.odin files to streamline this. I haven’t tried using it myself yet, and I believe it’s still in development.