retrieving results of system() call from stdout?
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com foo working: 20% foo working: 37% foo working: 49% foo working: 63% foo working: 75% _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... i'm writing a C++ GUI app that makes use of the command line to do somthing. say i've got a command line utility "foo" that takes a whatever and ouputs a modifided whatever, but while it's processing it gives feedback like: etc etc. how can i: 1) make system() return immediately (it t as simple as putting a "&" at the end of the string?) 2) *read* from stdout or get notified when a new string is pushed to it? 3) *read* from stderr to see if something bad happened? This email sent to site_archiver@lists.apple.com
participants (1)
-
David M. Cotter