Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

SIGKILL can't be called by signal() on Windows #56

Open
rpowis opened this issue Jul 18, 2016 · 0 comments
Open

SIGKILL can't be called by signal() on Windows #56

rpowis opened this issue Jul 18, 2016 · 0 comments

Comments

@rpowis
Copy link
Contributor

rpowis commented Jul 18, 2016

On Windows, signal() can only be called with SIGABRT, SIGFPE, SIGILL, SIGINT, SIGSEGV, or SIGTERM. A ValueError will be raised in any other case.

https://docs.python.org/2/library/signal.html#signal.signal (python 2)
https://docs.python.org/3/library/signal.html#signal.signal (python 3)

The following occurrences of SIGKILL are therefore breaking service-manager on Windows...

https://github.com/hmrc/service-manager/blob/master/servicemanager/smprocess.py#L16
and
https://github.com/hmrc/service-manager/blob/master/servicemanager/subprocess.py#L1555

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant