From f0142febcf78c6b5a260a2c78befc643089463e1 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Thu, 13 Aug 2020 07:57:57 +0100 Subject: [PATCH] executable is now os --- runtime/local/process/os/os_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/local/process/os/os_windows.go b/runtime/local/process/os/os_windows.go index 3f9c2c29..653b1933 100644 --- a/runtime/local/process/os/os_windows.go +++ b/runtime/local/process/os/os_windows.go @@ -10,12 +10,12 @@ import ( "github.com/micro/go-micro/v3/runtime/local/process" ) -func (p *Process) Exec(exe *process.Executable) error { +func (p *Process) Exec(exe *process.Exec) error { cmd := exec.Command(exe.Package.Path) return cmd.Run() } -func (p *Process) Fork(exe *process.Executable) (*process.PID, error) { +func (p *Process) Fork(exe *process.Exec) (*process.PID, error) { // create command cmd := exec.Command(exe.Package.Path, exe.Args...) // set env vars