Hello All,

I am working on a command line tool. I use
NSArray *params = [[NSProcessInfo processInfo] arguments]
to get a list of command line parameters.
Then I use
  NSString *param1 = [params objectAtIndex:1];
to get it.

But when I pass for example >...myapplication test$test
param1 got "testest" instead of  ""test$test"

It means as I understand that $ is interpreted as special character.

So my question is how to pass a parameter with $ inside?
And are there any other special characters which are interpreted as special
one?

Thanks,
Vlad
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to