Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: os/exec (execute other executable) #632

Closed
probonopd opened this issue Oct 17, 2019 · 3 comments
Closed

Feature request: os/exec (execute other executable) #632

probonopd opened this issue Oct 17, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@probonopd
Copy link

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.)

@niaow
Copy link
Member

niaow commented Oct 17, 2019

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.

@deadprogram deadprogram added the enhancement New feature or request label Oct 18, 2019
@probonopd
Copy link
Author

probonopd commented Aug 4, 2022

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.

@probonopd probonopd changed the title Execute other executable Feature request: os/exec (execute other executable) Aug 4, 2022
@deadprogram
Copy link
Member

Closing since I think that #4377 and other similar work is accommodating this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants