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

watts is not OS independent #51

Open
2 tasks
samgdotson opened this issue Jul 1, 2022 · 2 comments
Open
2 tasks

watts is not OS independent #51

samgdotson opened this issue Jul 1, 2022 · 2 comments

Comments

@samgdotson
Copy link
Contributor

Currently, the setup.cfg file specifies watts as "OS Independent." However, there are at least two issues preventing Windows from supporting watts:

  1. The select.select([p.stdout, p.stderr]) call breaks because select.select cannot work with streams on windows. The workaround for this is a non-blocking pipe which is addressed by @paulromano branch nonblocking-pipe (which was originally motivated by Using communicate() rather than read() in fileutils.run() #49).
  2. The fcntl is not supported by windows. There may be some substitutes. This appears integral to @paulromano's aforementioned non-blocking pipe.

This issue can be closed when the developers decide to either

  • add support for windows machines
  • indicate which operating systems are required
@nstauff
Copy link
Contributor

nstauff commented Jul 6, 2022

@paulromano - can you check this issue and maybe discuss with Sam about potential solutions.

@paulromano
Copy link
Contributor

Yes, I'm working on a resolution for this and plan to put in a PR

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

3 participants