diff --git a/ocis/pkg/runtime/cmd/run.go b/ocis/pkg/runtime/cmd/run.go index 0312fc6b4f..1c977b0fc0 100644 --- a/ocis/pkg/runtime/cmd/run.go +++ b/ocis/pkg/runtime/cmd/run.go @@ -5,10 +5,8 @@ import ( "log" "net" "net/rpc" - "os" "github.com/owncloud/ocis/ocis/pkg/runtime/config" - "github.com/owncloud/ocis/ocis/pkg/runtime/process" "github.com/spf13/cobra" ) @@ -23,11 +21,8 @@ func Run(cfg *config.Config) *cobra.Command { if err != nil { log.Fatal("dialing:", err) } - - proc := process.NewProcEntry(args[0], os.Environ(), []string{args[0]}...) var res int - - if err := client.Call("Service.Start", proc, &res); err != nil { + if err := client.Call("Service.Start", &args[0], &res); err != nil { log.Fatal(err) }