-
Notifications
You must be signed in to change notification settings - Fork 71
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
Bug installation on windows #1149
Comments
I think we never thought of running that on windows, but we can fix that for sure are you willing to work on this to fix the issue? |
well, was trying to install on windows
I can try by using this method var (
// ExitSignals are used to determine if an incoming os.Signal should cause termination.
ExitSignals = map[os.Signal]bool{
syscall.SIGHUP: true,
syscall.SIGINT: true,
syscall.SIGABRT: true,
syscall.SIGILL: true,
syscall.SIGQUIT: true,
syscall.SIGTERM: true,
syscall.SIGSEGV: true,
// syscall.SIGTSTP is conditionally added in init() not a global variable
}
// ExitChannel is for gracefully terminating the LogSignals() function.
ExitChannel = make(chan bool, 1)
// SignalChannel is for listening to OS signals.
SignalChannel = make(chan os.Signal, 1)
// Debug is defined globally for mocking logrus.Debug statements.
Debug func(args ...interface{}) = logrus.Debug
)
func init() {
// Only include SIGTSTP if not on Windows
if runtime.GOOS != "windows" {
ExitSignals[syscall.SIGTSTP] = true
}
} By adding this Edit : fixes now |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
What happened:
There was a problem when installing the latest version of the software
And got response:
What you expected to happen:
syscall.SIGTSTP
is not available on Windows.How to reproduce it (as minimally and precisely as possible):
run this
Anything else we need to know?:
Windows does not use signals in the same way as Unix-like systems
Environment:
Windows 11
Tasks
The text was updated successfully, but these errors were encountered: