Re: Spawn process without inheriting parent stdout, stdin
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; 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=bHW4/UMHCfHM6D/erw0uTAuY4ml4XjMpJE6ACM0i2wx0rq/xr3bKTxu3uHY98jBhkLL4WuP+4mlCZ+WINYbuz/vWGYEma2b0f8zq/dl3dstXauFYnqcsMMwlGZ1SMFgBZrGTVt/VJiR14v/xl8PeEawS7Q/vJgLy4jMVCBICGNc= On 9/30/05, Sherm Pendley <sherm@dot-app.org> wrote:
Why not simply use NSTask's -setStandardOutput: to redirect the child's output elsewhere? The argument doesn't have to be an NSPipe - it can be an NSFileHandle as well.
pfft! You're crazy man! I like my complicated solution better. ;-) Thanks for the tip! I had no idea about these functions. :-) -- -Corey O'Connor _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com
participants (1)
-
Corey O'Connor