Re: Dockling not working, at all, no clue why!
Re: Dockling not working, at all, no clue why!
- Subject: Re: Dockling not working, at all, no clue why!
- From: Jay Vaughan <email@hidden>
- Date: Mon, 8 Apr 2002 21:14:02 +0800
find=[[NSTask alloc] init];
[find setLaunchPath:@"usr/bin/find"];
[find setCurrentDirectoryPath:@"/Applications"];
[find setArguments:[NSArray arrayWithObjects:@"/Applications", @"-name
*.app"]];
I know this may have been answered already, but you've not told find
what to do when it finds something. You need a "-print" argument,
so that the final command looks like this:
/usr/bin/find /Applications -name "*.app" -print
Also, put the forward / in the launch path... usr/bin/find != /usr/bin/find
--
j.
--
jv - Jay Vaughan - email@hidden - email@hidden
- email@hidden - icq:454804
~... threads rolling, keep the threads rolling ...~
-------------------------------------------------------------
_______________________________________________
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.