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

no output in pty mode if stdin is redirected #11

Closed
1player opened this issue Aug 9, 2022 · 0 comments
Closed

no output in pty mode if stdin is redirected #11

1player opened this issue Aug 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@1player
Copy link
Owner

1player commented Aug 9, 2022

Unless --no-pty is passed, there is no output if stdin is redirected. I'm not even sure if the command is even executed in the first place.

$ host-spawn echo foo 
foo
$ host-spawn echo foo </dev/null
$

Expected result

$ host-spawn echo foo 
foo
$ host-spawn echo foo </dev/null
foo
$
@1player 1player added the bug Something isn't working label Aug 9, 2022
@1player 1player changed the title fails in pty mode if stdin is redirected no output in pty mode if stdin is redirected Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant