Arguments to an NSTask
Arguments to an NSTask
- Subject: Arguments to an NSTask
- From: Chris Ridd <email@hidden>
- Date: Tue, 09 Sep 2003 07:21:07 +0100
How are NSString arguments actually passed to a program run by NSTask? The
documentation doesn't say. The 'const char *argv[]' interface used by
C/Unix/exec* requires that all the arguments be NUL-terminated C strings, so
if NSTask encoded the arguments using UTF-8 that would make sense. However,
I don't like to make any assumptions here, just in case...
Cheers,
Chris
_______________________________________________
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.