Re: Running a shell script out of the current thread
Re: Running a shell script out of the current thread
- Subject: Re: Running a shell script out of the current thread
- From: Ondra Cada <email@hidden>
- Date: Mon, 20 Sep 2004 20:11:54 +0200
ZR,
On 20.9.2004, at 19:57, Z Rosen wrote:
My app needs to make modifications to its bundle. ... What would be
the best way of doing this?
The best way is *not to do that at all*. Any reasonable user would
install all applications somewhere more or less nobody cannot write to
(to shield before viri and similar malware).
For your app data use ~/Library/Application Support, or
~/Library/Services for dynamically generated&updated services, or
whatever similar folder best suits your needs.
BTW, if your app happens to be *that* special it is still a way to be
considered (which is *extremely* improbable), (a) to launch a script
you can use NSTask, but (b) there is no reason *at all* to wait till a
program quits to change its file: luckily enough, this is no windoze we
use, and our filesystem does work the decent way :)
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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