• 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: Translating filenames for command line?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Translating filenames for command line?
      • From: Andreas Monitzer <email@hidden>
    • Re: Translating filenames for command line?
      • From: Rosyna <email@hidden>
    • Re: Translating filenames for command line?
      • From: Thomas Lachand-Robert <email@hidden>
  • Prev by Date: Re: OOP Clarification: difference between classes and instances, compare with C++
  • Next by Date: Re: OOP Clarification: difference between classes and instances, compare with C++
  • Previous by thread: Re: OOP Clarification: difference between classes and instances, compare with C++
  • Next by thread: Re: Translating filenames for command line?
  • Index(es):
    • Date
    • Thread