ianmiell / shutit

Automation framework for programmers
http://ianmiell.github.io/shutit/
MIT License
2.15k stars 110 forks source link

Windows support? #300

Closed wybiral closed 6 years ago

wybiral commented 7 years ago

Is the dependency on fcntl the main thing holding this back from being Windows compatible?

ianmiell commented 7 years ago

I don't know TBH - I don't use Windows in anger (CygWin at work). Can you help?

On Sat, Jun 10, 2017 at 7:26 PM, davy wybiral notifications@github.com wrote:

Is the dependency on fcntl the main thing holding this back from being Windows compatible?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ianmiell/shutit/issues/300, or mute the thread https://github.com/notifications/unsubscribe-auth/AGrczaNA9-VJ9lyaaq5YkuQ7kcwdR7Qkks5sCt-8gaJpZM4N2L6m .

-- My book on Docker in Practice: Get 39% off with the code 39miell http://manning.com/miell/?a_aid=zwischenzugs&a_bid=e0d48f62

wybiral commented 7 years ago

I'd love to help if possible.

Most of my dev is done on Linux but I have a Windows laptop where it would be nice to be able to dish out commands or monitor from.

ianmiell commented 7 years ago

Great :)

On Sat, Jun 10, 2017 at 7:42 PM, davy wybiral notifications@github.com wrote:

I'd love to help if possible.

Most of my dev is done on Linux but I have a Windows laptop where it would be nice to be able to dish out commands or monitor from.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ianmiell/shutit/issues/300#issuecomment-307583056, or mute the thread https://github.com/notifications/unsubscribe-auth/AGrczTJgupbMlQDzAiI4uHdn0HwsVndwks5sCuOugaJpZM4N2L6m .

-- My book on Docker in Practice: Get 39% off with the code 39miell http://manning.com/miell/?a_aid=zwischenzugs&a_bid=e0d48f62

stevehipwell commented 7 years ago

@ianmiell - Would you expect a Linux machine running shutit to be able to control a Windows machine running OpenSSH?

wybiral commented 7 years ago

@ianmiell on closer look it seems pexpect has issues with Windows as well https://github.com/pexpect/pexpect/issues/339

ianmiell commented 7 years ago

@stevehipwell yes - it just expects a sh environment, ideally bash.

ianmiell commented 7 years ago

fcntl is not a hard requirement, so I could code around it based on platform. I don't use Windows though, so would need help to prove something out/test.