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

Input redirection into screp #67

Open
msikma opened this issue Dec 17, 2024 · 2 comments
Open

Input redirection into screp #67

msikma opened this issue Dec 17, 2024 · 2 comments

Comments

@msikma
Copy link

msikma commented Dec 17, 2024

Hi there. I was wondering if this is possible, or could potentially be added as a feature.

I think it'd be nice to be able to pipe data, e.g. screp < myfile.rep. I'm calling screp from inside Node JS and this would allow me to process in-memory file buffers without having to save them to a temp file.

@icza
Copy link
Owner

icza commented Dec 17, 2024

Santa comes early this year. Here's your wish: https://github.com/icza/screp/releases/tag/v1.12.10

Just provide the -stdin CLI flag, and replay content will be expected on the standard input.

Cheers!

@icza
Copy link
Owner

icza commented Dec 17, 2024

Let me know if it works for you, and as you imagined it so I can close the issue.

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