• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Arguments to an NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: MiscKit
  • Next by Date: Re: Techniques for thread communication
  • Previous by thread: Re: NSBezierPath and affine transforms.
  • Next by thread: TableView sending messages to released data source
  • Index(es):
    • Date
    • Thread