-
Notifications
You must be signed in to change notification settings - Fork 49
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
[TEST] Cluster tool fixes #637
Conversation
Path and tmp folder fixes fpr Windows. Also signal handling fixes for Windows and Linux.
@@ -140,28 +146,36 @@ function restart(cluster: NatsServer[]) { | |||
} | |||
|
|||
function waitForStop(): void { | |||
const isWindows = Deno.build.os === "windows"; | |||
const isLinux = Deno.build.os === "linux"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets just test for windows, the rest is assumed to be some sort of unix, otherwise we'll fail and add more complexity for other things that will run
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only for signal handling on Linux swapping ctrl-T
with ctrl-Z
since SIGINFO
doesn't work on Linux. It'd be nice to have the option to run on Linux as well. BTW macOS should not be affected.
Path and tmp folder fixes fpr Windows.
Also signal handling fixes for Windows and Linux.