Windows-compatibility #41

Closed
fe9lix opened this Issue Jun 15, 2011 · 9 comments

Comments

Projects
None yet
7 participants

fe9lix commented Jun 15, 2011

Hi,

any plans making foreman compatible with Windows? Currently, you get a load error (due to pty library) when foreman is started...

Owner

ddollar commented Jun 15, 2011

I don't currently have a Windows machine to test with. Would you be interested in getting it working?

niqbal commented Jul 14, 2011

Any updates on this? What kind of help can i do?

Owner

ddollar commented Jul 14, 2011

The ruby PTY library does not work on Windows due to a lack of pseudo terminals. I've got Windows installed now in a VM and will be looking into alternatives, though I'd appreciate any help.

Hey there. I have this problem as well. I'm happy to help test, try things, etc. although my Ruby chops are too limited to probably solve the problem myself. Let me know if/how I can help.

refack commented Jul 28, 2011

Hi,
I'm running on windows, and would love to help.
What's the windows compatible alternative to PTY?

@ddollar ddollar closed this Jul 28, 2011

Owner

ddollar commented Jul 28, 2011

There really isn't one. You might check if standard popen and friends will return unbuffered I/O on Windows. The reason I used PTY on *nix was that it seemed to be the only way to get unbuffered I/O.

sreid99 commented Sep 2, 2011

I'm also interested in using foreman on windows. Is there some likelihood this will be added, or would I be better looking for alternatives ?

Owner

ddollar commented Sep 6, 2011

Due to a number of limitations of Ruby on Windows, it seems unlikely. Ruby on Windows does not have pty support, nor does it have the ability to fork()

I've started http://github.com/ddollar/foreman-windows to try to create a Foreman implementation in C# to be a bit more native with Windows.

how do you install the foreman-windows version from ddollar?

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