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

"Exec"-like instruction #148

Open
TrevorBrunette opened this issue May 2, 2023 · 0 comments
Open

"Exec"-like instruction #148

TrevorBrunette opened this issue May 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@TrevorBrunette
Copy link
Collaborator

As a program user
I want an additional instruction which can run a command on the system natively
So that I can interact with the user environment.

Request Description
Implement an instruction that executes a given command natively. Perhaps it will also be worthwhile to implement utility instructions that can get information about the operating system so that multi-platform code can be made. Also add documentation for this instruction in the wiki.

e.g., exec $t0 "cat hello world"

  1. Executes cat 'hello world' on the system
  2. Creates a string in memory representing the standard output from that command
  3. Stores a pointer to the string created in (2) and stores it into the specified register, $t0 here
@TrevorBrunette TrevorBrunette added the enhancement New feature or request label May 2, 2023
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

1 participant