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

Add an IO function to call subprocesses #385

Open
developedby opened this issue Jun 10, 2024 · 0 comments
Open

Add an IO function to call subprocesses #385

developedby opened this issue Jun 10, 2024 · 0 comments
Assignees
Milestone

Comments

@developedby
Copy link
Member

Is your feature request related to a problem? Please describe.
A lot of IO things we want to do are already available as commands in the systems where hvm is running.
Sure, we'd like to be able to do all that inside of HVM, but implementing all the wrappers takes a long time.
Also, some things (proprietary, non-source available software) can only be run through their binaries.
So, we'd like a way to call binaries in the system.

Describe the solution you'd like
An IO function that runs a command in the system it's running. Similar to C's system.
preferably with a way to capture stdin, stdout and stderr.
I think it should be blocking.

Describe alternatives you've considered

  • Something like execl where we run binaries directly instead of calling shell commands.
  • Not having this at all. I don't think this is really a viable option long term.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants