Skip to content

Weird stdin behaviour #46

Description

@jlebon

Compare e.g.

$ cat <<< "input"
input
$ host-spawn cat <<< "input"
input
input
<hangs>

So first, I'm not sure where the double-printing comes from. Second, cat hangs, seemingly indicating that its stdin is not closed.

I'm guessing this is related to the various stdin tricks host-spawn plays. I do notice that it behaves as expected with -no-pty, so likely related:

$ host-spawn -no-pty cat <<< "input"
input

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions