mirror of https://github.com/shirou/gopsutil
add placeholder of process on windows
parent
bcb556f89f
commit
afd21dbb61
@ -0,0 +1,14 @@
|
||||
// +build windows
|
||||
|
||||
package gopsutil
|
||||
|
||||
func Pids() ([]int32, error) {
|
||||
ret := make([]int32, 0)
|
||||
|
||||
return ret, nil
|
||||
}
|
||||
|
||||
func NewProcess(pid int32) (*Process, error) {
|
||||
p := &Process{Pid: pid}
|
||||
return p, nil
|
||||
}
|
Loading…
Reference in New Issue