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

windows process.io.stdin unavailable? #34

Closed
rdp opened this issue May 21, 2012 · 2 comments
Closed

windows process.io.stdin unavailable? #34

rdp opened this issue May 21, 2012 · 2 comments

Comments

@rdp
Copy link

rdp commented May 21, 2012

Is this expected?

process.io.stdin = IO.pipe[1]

undefined method `stdin=' for #ChildProcess::Windows::IO:0x53bbfa

@jarib
Copy link
Collaborator

jarib commented May 21, 2012

That doesn't work on any OS. You can't assign to stdin, but you can write to it if you set process.duplex = true before starting it.

@jarib jarib closed this as completed May 21, 2012
@rdp
Copy link
Author

rdp commented May 22, 2012

Perhaps it should be added to some documentation somewhere (or perhaps I just missed it).
Cheers!
-r

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants