v1.15.0
* IDState cleaned up. Should work on all *NIXes now. * Can now get IDState of arbitrary PID. * Shuffled some env stuff around.
This commit is contained in:
11
consts_nix.go
Normal file
11
consts_nix.go
Normal file
@@ -0,0 +1,11 @@
|
||||
//go:build !(windows || plan9 || wasip1 || js || ios)
|
||||
|
||||
package sysutils
|
||||
|
||||
const (
|
||||
envSudoCmd string = "SUDO_COMMAND"
|
||||
envSudoHome string = "SUDO_HOME"
|
||||
envSudoGrp string = "SUDO_GID"
|
||||
envSudoUid string = "SUDO_UID"
|
||||
envSudoUname string = "SUDO_USER"
|
||||
)
|
||||
Reference in New Issue
Block a user