• 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
Re: Dockling not working, at all, no clue why!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Dockling not working, at all, no clue why! (From: Stevos <email@hidden>)

  • Prev by Date: Re: Cocoa File Copy on MacOS X
  • Next by Date: Re: Cocoa File Copy on MacOS X
  • Previous by thread: Re: Dockling not working, at all, no clue why!
  • Next by thread: Re: Dockling not working, at all, no clue why!
  • Index(es):
    • Date
    • Thread