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

allow script input from stdin #70

Closed
mxcl opened this issue Oct 2, 2022 · 1 comment
Closed

allow script input from stdin #70

mxcl opened this issue Oct 2, 2022 · 1 comment

Comments

@mxcl
Copy link
Member

mxcl commented Oct 2, 2022

eg. this should work:

$ tea +rust-lang.org^1.2 rustc <<-HEREDOC
    println!("Hello World!");
HEREDOC

Implementation details:

  • rustc should receive the stdin, we should not write out the script for it
@mxcl
Copy link
Member Author

mxcl commented Dec 6, 2022

This does work.

@mxcl mxcl closed this as completed Dec 6, 2022
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

1 participant