Re: Ausgabe von Programmen

Bernhard Walle <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hallo Philipp,

* Philipp Otte [12.06.2005 22:46]:
> ich will ein Programm schreiben, dass ein anderes ausführt und nachher
> dessen Ausgabe auswertet, aber das Programm macht dies vielfach, also
> wird ein einfaches Programm1 | Programm2 wohl nicht reichen.
> Wie kann ich die Ausgabe des Programmes erhalten?
> Meine momentane Idee ist:
> system("Programm1 > /tmp/test");

man 3 popen


Gruß,
Bernhard


-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.