// +build !darwin package main import "os/exec" func notify(s string) error { return exec.Command("xmessage", "-center", "-timeout", "5", s).Run() }