tinygo
tinygo copied to clipboard
Feature request: os/exec (execute other executable)
How can I execute another executable from TinyGo (Linux target) and act on its output/return code? (Not sure whether this is the correct place to ask, please advise.)
At the moment we do not have support for that. Depending on your needs, you could probably use cgo for this, but you will not be able to access stdin and stdout at the same time yet. I am hoping to get some of the things required done, but it might be a bit before os/exec
works.
Been almost three years, it seems a bit hard to understand that such basic functionality is missing.
Is there still a chance that os/exec
will ever be supported?
There seems to be "only" a stub currently.