• 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: NSTask failing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask failing


  • Subject: Re: NSTask failing
  • From: Randall Meadows <email@hidden>
  • Date: Fri, 4 Apr 2008 16:06:18 -0600

On Apr 4, 2008, at 3:52 PM, Hamish Allan wrote:
On Fri, Apr 4, 2008 at 10:43 PM, Randall Meadows <cocoa-dev@not- pc.com> wrote:


I assume there was supposed to be a [tarTask launch] in there somewhere,
eh? :)

If you like :)

Now, I have no idea how I'm goint to detect an ACTUAL error condition;

You could just connect the resultsPipe to stderr, and scan for "error" or similar.

I was able to use -setCurrentDirectoryPath: to something that doesn't require me to pass full paths of files, and now the result code is 0. So, problem solved, except for that whole "I finished successfully, but I'm going to tell you I died anyway" drama...


Thanks for everyone's help!
randy
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >NSTask failing (From: Randall Meadows <email@hidden>)
 >Re: NSTask failing (From: "Hamish Allan" <email@hidden>)
 >Re: NSTask failing (From: Randall Meadows <email@hidden>)
 >Re: NSTask failing (From: "Hamish Allan" <email@hidden>)

  • Prev by Date: Re: core data - beyond the simple example
  • Next by Date: Re: activate my application while dragging on other application window
  • Previous by thread: Re: NSTask failing
  • Next by thread: Re: NSTask failing
  • Index(es):
    • Date
    • Thread