add placeholder of process on windows

This commit is contained in:
WAKAYAMA Shirou 2014-04-23 21:38:13 +09:00
parent bcb556f89f
commit afd21dbb61
1 changed files with 14 additions and 0 deletions

14
process_windows.go Normal file
View File

@ -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
}