I\'m trying to run a fairly simple bash command from my Go code. My program writes out an IPTables config file and I need to issue a command to make IPTables refresh from t
cmd := exec.Command("/usr/sbin/iptables-restore", "--binary", iptablesFilePath) _, err := cmd.CombinedOutput() if err != nil { return err } return nil
this work fine on my Raspberry Pi3