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

Reading from standard input? #18

Closed
xopxe opened this issue Jul 9, 2021 · 2 comments
Closed

Reading from standard input? #18

xopxe opened this issue Jul 9, 2021 · 2 comments

Comments

@xopxe
Copy link
Contributor

xopxe commented Jul 9, 2021

I have an applications that uses sockets to distribute data read from the standard input. I don't see how I can get a file descriptor for standard files for nixio. (the ones from Lua like io.input() do not work)

@Neopallium
Copy link
Owner

nixio.stdin for input (FD 0), nixio.stdout for output (FD 1) and nixio.stderr for error (FD 2)

@Neopallium
Copy link
Owner

Add to docs: https://neopallium.github.io/nixio/modules/nixio.html#Tables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants