Re: retrieving results of system() call from stdout?
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EF2htQJ3XaWPL8z2V4fwZZMpBlIBeMlcFVOuaUGYz6LyaL/dHfS0AcFuq1sylN7vlCo0FdDDbRMjxgnr38ICQEh6mep5b5yVCNmzJmJH2H7KLazIZupLPee0eC1LEx1xS+9lyASrBbJQwOtOtlw7HqzwWYvcvZPIvZekgOGtRxY= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OJHwpraAD8v6zs6fCNqi5+u8C1XVgW4Q94pBXYCWrQXi8RWd4xJ3poK0IfXl+ScE38Cy9vNa/2UJYyhHI2iEr98Ke2+AEKV9TTH4+Q9nleWBZeZ0fqBs4tofxklOTyn46ABvRfoyIoAxFOCgoJRjJneqA/7OjVF3bE8v5f0Bngc= 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? man popen -- Finlay _______________________________________________ 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... On 23/03/07, David M. Cotter <david.cotter@adobe.com> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
Finlay Dobbie