add placeholder of process on windows

pull/4/head
WAKAYAMA Shirou 11 years ago
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…
Cancel
Save