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

Working with stdin #71

Open
ahmadyogi543 opened this issue Apr 4, 2023 · 1 comment
Open

Working with stdin #71

ahmadyogi543 opened this issue Apr 4, 2023 · 1 comment
Assignees

Comments

@ahmadyogi543
Copy link

ahmadyogi543 commented Apr 4, 2023

Hi, thank you so much for this awesome project!

So I wanna know if it possible to working with stdin, I mean like get input from it or something like that, maybe like using function like fgets(STDIN) in PHP with this. Is it possible or not?

Thanks in advanced and sorry for my bad english))

@asmblah
Copy link
Owner

asmblah commented Apr 14, 2023

You're very welcome @ahmadyogi543!

I'm afraid that Uniter does not yet support accessing stdin as a stream - I'll leave this issue open until it is supported properly.

It would be possible to work around the issue in the meantime by defining a custom function, let me know if that would work for you in this instance and I'll put together an example.

Cheers

@asmblah asmblah self-assigned this Apr 14, 2023
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