system q(Pfad/Programm >& Datei.txt 2>&1 &);