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

!fd stdin #6

Open
mcandre opened this issue Dec 29, 2018 · 2 comments
Open

!fd stdin #6

mcandre opened this issue Dec 29, 2018 · 2 comments

Comments

@mcandre
Copy link

mcandre commented Dec 29, 2018

Expose stdin, just like stdin and stderr, through to CloudABI YAML configuration files, so that REPL programs can be built with CloudABI.

Workaround for UNIX hosts:

%TAG ! tag:nuxi.nl,2015:cloudabi/
---
console_out: !fd stdout
console_err: !fd stderr
console_in: !file
    path: /dev/tty
@m-ou-se m-ou-se transferred this issue from NuxiNL/cloudabi Dec 29, 2018
@EdSchouten
Copy link
Member

Maybe we want to add cloudabi-run -f <configuration> <executable> as an alternative syntax to launch processes? When using -f, we could permit the use of !fd stdin. Feel free to send a pull request!

@mcandre
Copy link
Author

mcandre commented Mar 2, 2019

-f <path> is a more natural syntax than <, and provides for more portable shell snippets (some non-bash shells may use different redirection syntaxes).

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

2 participants