Refactor process.go for platform specific
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
3856e27560
commit
1acf68535a
3 changed files with 46 additions and 22 deletions
19
runtime/process_windows.go
Normal file
19
runtime/process_windows.go
Normal file
|
@ -0,0 +1,19 @@
|
|||
package runtime
|
||||
|
||||
import "os"
|
||||
|
||||
// TODO Windows: Linux uses syscalls which don't map to Windows. Needs alternate mechanism
|
||||
func getExitPipe(path string) (*os.File, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
// TODO Windows: Linux uses syscalls which don't map to Windows. Needs alternate mechanism
|
||||
func getControlPipe(path string) (*os.File, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
// TODO Windows. Windows does not support signals. Need alternate mechanism
|
||||
// Signal sends the provided signal to the process
|
||||
func (p *process) Signal(s os.Signal) error {
|
||||
return nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue