Ausgabe von Programmen

Philipp Otte <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hi,
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");
Hat einer von Euch bessere Ideen?

Danke Philipp
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCrJ8ePPwLyJcVxnURAqZZAKCtF/bb6HHJLB7sje8mjFLhiSQR0gCfRQcO
CloxnqasQiNy7PK1eIqLPsE=
=MeWN
-----END PGP SIGNATURE-----
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.