deadman icon indicating copy to clipboard operation
deadman copied to clipboard

A usb-based dead man's switch

Results 16 deadman issues
Sort by recently updated
recently updated
newest added

@flowchartsman Currently there is a logic issue that would ensure the user's freedom could be compromised. checkExe("shutdown") is executed in the shutdownNow() function. If shutdown is not executable for any...

Please consider adding a license to clarify the use of this code.

Ensure that shutdown commands (or any user-specified commands) are executable at startup. With a tool like this, you don't want any surprises other than the one it's designed for.

Instead of polling the platform's version of `lsusb`, the app should try and hook into the native OS as much as possible. Event-based interrupts, FTW. Programmable HIDs are fast little...

Windows 7/8 do not send SIGINT to console apps when the window is closed. This needs to be detected and handled as a reboot scenario, or, if it cannot be...

help wanted
windows

In keeping with the zero-surprises mode of thinking, deadman should detect, at startup, whether or not it is capable of shutting down. On *nix systems, this means checking whether or...

Initial tests on Windows 8 indicate that Windows 8 requires: - that deadman.exe is run as an administrator - that shutdown can be aborted by an application crashing (evernote in...

bug
windows
pending testing

It is difficult to keep track of what happened when, so add logging, I have a logging framework for GO, you can use it.

In the event that the process is still alive after the user should optionally be able to specify that they want a shutdown that will proceed no matter what. In...