Re: Can't *READ* from my Resources Directory???
Re: Can't *READ* from my Resources Directory???
- Subject: Re: Can't *READ* from my Resources Directory???
- From: Cameron Hayne <email@hidden>
- Date: Thu, 2 Jun 2005 02:57:18 -0400
On 2-Jun-05, at 1:13 AM, Francisco Tolmasky wrote:
In the application I'm running I launch a subprocess (NSTask) that
uses the standard php tool to preprocess a file in my resources
directory. Now, when I was testing, I had it outside and it was
working fine, but as soon as I put it in my apps resources
directory, php refuses to work. It's very strange, I get something
along the lines of this:
Could not open input file: <prints out contents of file>.
That error message makes it seem that you are passing a string
containing the contents of the file as an argument to the NSTask
instead of the filename.
Look again at what you are passing to NSTask's setArguments method.
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden