• 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:54:24 -0500

On Tuesday, January 1, 2002, at 08:47 AM, Andreas Monitzer wrote:

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


I don't think you get the problem. I'm not talking about launching a shell script, I'm talking about running the actual tool using ObjC:


Right, but in the specific case of Installer, which you brought up, it wasn't due to the use of system(), but that the script was badly hosed.

I see what you're saying here in your code, and from the pure case of using it to call the tool directly, that's right.

But the iTunes installer debacle was something different.


References: 
 >Re: Translating filenames for command line? (From: Andreas Monitzer <email@hidden>)

  • Prev by Date: Re: OOP Clarification: difference between classes and instances, compare with C++
  • Next by Date: Re: That Cocoa Book...
  • Previous by thread: Re: Translating filenames for command line?
  • Next by thread: Re: Translating filenames for command line?
  • Index(es):
    • Date
    • Thread