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

Re: Problematic NSTask issue


  • Subject: Re: Problematic NSTask issue
  • From: "Aaron Vegh" <email@hidden>
  • Date: Wed, 5 Dec 2007 06:46:41 -0500

Hi Chris,

> No, what I'm saying is that you have a newline character (\r or \n) as
> the first character in your filename, before /Users/aaron/...
>
> That's what your logfile is showing, and what's what zip is showing.
>
> It's there; gotta figure out why.


I'm pretty sure now that the newline isn't in my code; it's in the
return from unzip. When I run the command from the Terminal, I get the
same formatted output:

unzip:  cannot find zipfile directory in one of sample.enc or
           sample.enc.zip, and cannot find sample.enc.ZIP, period.

I was tipped off by noticing that the second line is perfectly lined
up with the start of the message on line 1. And I've spent an hour or
so exhausting the means of finding a \n character in my string!

I'm running out of ideas here... :-P

Thanks,
Aaron.
_______________________________________________

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: 
 >Problematic NSTask issue (From: "Aaron Vegh" <email@hidden>)
 >Re: Problematic NSTask issue (From: Chris Ryland <email@hidden>)
 >Re: Problematic NSTask issue (From: "Aaron Vegh" <email@hidden>)
 >Re: Problematic NSTask issue (From: "Aaron Vegh" <email@hidden>)

  • Prev by Date: RE: Pulsing buttons
  • Next by Date: Leopard: CGContextDrawShading crash a known problem?
  • Previous by thread: Re: Problematic NSTask issue
  • Next by thread: stop pause and resume CAAnimation
  • Index(es):
    • Date
    • Thread