@ -53,7 +53,12 @@ func main() {
}
func runCmd(args ...string) error {
cmd := exec.Command(args[0], args[1:]...)
var cmd *exec.Cmd
if len(args) > 1 {
cmd = exec.Command(args[0], args[1:]...)
} else {
cmd = exec.Command(args[0])
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
The note is not visible to the blocked user.