Re: Translating filenames for command line?
Re: Translating filenames for command line?
- Subject: Re: Translating filenames for command line?
- From: Scott Anguish <email@hidden>
- Date: Tue, 1 Jan 2002 08:21:30 -0500
On Monday, December 31, 2001, at 02:55 PM, Andreas Monitzer wrote:
On Monday, December 31, 2001, at 08:38 , Finlay Dobbie wrote:
On Monday, December 31, 2001, at 04:39 pm, Andreas Monitzer wrote:
And you should try to avoid system() if possible. There are some
risks involved (see iTunes 2.0 installer fiasco).
That was just a bog-standard badly written shell script, nothing to do
with system().
system("rm -rf /Volumes/Harddisk 1/Applications/iTunes.app");
yeah, right.
It would have been the same problem if they'd called it via NSTask
(and that's more likely how that script was called...)
System() wasn't the culprit there... lack of testing was