-
Notifications
You must be signed in to change notification settings - Fork 231
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
A way to read standard input in the background without file/read
in a thread.
#1398
Comments
file/read
in a thread.
I don't think Janet has a way at the moment, but I seem to recall one can close all the std* files, then reopen them by file descriptors. If there was a way to operate |
Building on this, I have recently pushed code that extends |
Is it difficult to implement |
|
Right now,
stdin
is a file. I have to usefile/read
in a thread.I can't kill the program with
(os/exit 1)
which is blocked byfile/read
.The text was updated successfully, but these errors were encountered: