You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. When attaching a Mojo::IOLoop::Stream to STDOUT I noticed that that same stream also reads my STDIN (since the two filehandles are the same underlying pty).
Is there a way to mark a given Mojo::IOLoop::Stream as unidirectional, so it will only read or write?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi. When attaching a Mojo::IOLoop::Stream to STDOUT I noticed that that same stream also reads my STDIN (since the two filehandles are the same underlying pty).
Is there a way to mark a given Mojo::IOLoop::Stream as unidirectional, so it will only read or write?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions