in basic-cli is there any way to check is there are any incoming data ?
What I like to do is following
let assume linux:
cat file.txt | my_roc_app
I want to detect that there is data on input and act on it is this possible ?
Stdin will tell you if data has ended, but if you call it and no data was piped in, it will sit waiting on the terminal stdin
Last updated: Jul 06 2025 at 12:14 UTC