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: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.