Les travaux suivants et imprime la sortie de commande:Go exec.Command() - commande d'exécution qui contient tuyau
out, err := exec.Command("ps", "cax").Output()
mais celui-ci échoue (avec le statut de sortie 1):
out, err := exec.Command("ps", "cax | grep myapp").Output()
Tous suggestions?