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

Explore Windows Compatibility #3

Closed
bdd opened this issue May 3, 2020 · 1 comment
Closed

Explore Windows Compatibility #3

bdd opened this issue May 3, 2020 · 1 comment
Labels
xplat cross platform support

Comments

@bdd
Copy link
Owner

bdd commented May 3, 2020

I use runitor on Linux, FreeBSD, and macOS but does it run under Windows too?

SIGARLM based triggering will likely not work. Maybe I can remove support for that on Windows.

AFAIK stdout and stderr concepts are similar/same on Windows. So redirection should work well.

@bdd bdd changed the title Add Windows Compatibility Explore Windows Compatibility May 3, 2020
@bdd
Copy link
Owner Author

bdd commented May 3, 2020

Seems like it works without issues.

  • go get successfully compiles
  • All functionality except Unix signals seems to work.
    • SIGALRM handling on Windows is no-op.
  • stdout and stderr handling works as expected.
  • correctly extracts exit code.
C:\Users\bdd>type test.bat
@echo "this is stdout"
@echo "this is stderr" >&2
@exit 42
C:\Users\bdd>runitor -uuid xxxxxxxxx-xxxxx-xxxx-xxxxx-xxxxxxxxxxxxx -- test

"this is stdout"
"this is stderr"

C:\Users\bdd>

@bdd bdd closed this as completed May 3, 2020
@bdd bdd added the xplat cross platform support label Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
xplat cross platform support
Projects
None yet
Development

No branches or pull requests

1 participant