X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=rpc%2Fconn.go;h=3f7ade144c1c2905254da49eb7924552aa3c362d;hb=2804606f9f8dc5078c38580bac363b47eb638620;hp=03b748545f12c1c588acb24bac2761e0b439b25c;hpb=9d0d090fc1d683accc8bd1b354425c23cbe9fb6a;p=safcm%2Fsafcm.git diff --git a/rpc/conn.go b/rpc/conn.go index 03b7485..3f7ade1 100644 --- a/rpc/conn.go +++ b/rpc/conn.go @@ -20,6 +20,7 @@ package rpc import ( "bufio" "fmt" + "io/fs" "os/exec" "strings" "sync" @@ -36,6 +37,8 @@ type Conn struct { sshRemote string sshOpts []string + remoteHelpers fs.FS + cmd *exec.Cmd conn *safcm.GobConn }