mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
fix: Suppress non-PMG error from Critical UI Error (#311)
* fix: Suppress non-PMG error from Critical UI Error * fix: Code review fixes --------- Co-authored-by: Sahil Bansal <bansalsahil315@gmail.com>
This commit is contained in:
co-authored by
Sahil Bansal
parent
db1a5e58b3
commit
5018f8e2ff
@@ -0,0 +1,10 @@
|
||||
//go:build windows
|
||||
|
||||
package proc
|
||||
|
||||
// SignalInfo on non-unix platforms cannot decode signal termination from the
|
||||
// process status, so it always reports not-signaled and the raw exit code is
|
||||
// used verbatim by callers.
|
||||
func SignalInfo(_ any) (signum int, signaled bool) {
|
||||
return 0, false
|
||||
}
|
||||
Reference in New Issue
Block a user