Re: Pipes and Shell Commands
Re: Pipes and Shell Commands
- Subject: Re: Pipes and Shell Commands
- From: Finlay Dobbie <email@hidden>
- Date: Wed, 21 Aug 2002 18:51:44 +0100
On Wednesday, August 21, 2002, at 10:45 AM, Brian Ling wrote:
So how can I pipe the NSString to the command, as
NSFileHandle only has a writeData method that takes an
NSData type as an argument.
From NSString.h:
- (NSData *)dataUsingEncoding:(NSStringEncoding)encoding
allowLossyConversion:(BOOL)lossy;
-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.