Closed Bug 67914 Opened 24 years ago Closed 11 months ago

execute() isn't handling multiple arguments (2nd param)

Categories

(Core Graveyard :: Installer: XPInstall Engine, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE
Future

People

(Reporter: depman1, Assigned: slogan)

References

()

Details

bug found on Linux. 2001-02-06-08 commercial build. 1. Go to http://jimbob/trigger3.html 2. Enter http://jimbob/jars/f_execute_2_unix_args.xpi in the URL field. Install script uses execute() to accept multiple string arguments (like '"one" "two" ...') and passes them into a customized Linux program 'mparse'. mparse takes these arguments, assigns them using argv[], and prints them out (to the console) in reverse order. 3. Press Trigger. Then OK 4. Check the console. Result: String isn't parsed into separated arguments. Accepted as one string with double quotes around each input. The input word = "This" "is" "a" "short" "sentence" The input sentence = "This" "is" "a" "short" "sentence" The output word = "This" "is" "a" "short" "sentence" The output sentence = "This" "is" "a" "short" "sentence" Expected: Parsed out into separate arguments: The input word = This The input word = is The input word = a The input word = short The input word = sentence The input sentence = This is a short sentence The output word = sentence The output word = short The output word = a The output word = is The output word = This The output sentence = sentence short a is This In the install script, I not only tried single quotes around the arguments, but escape characters, using an array (which just put in commas between the args).
Don has moved to another group. Install bugs -> syd
Assignee: dbragg → syd
Target Milestone: --- → M1
Target Milestone: M1 → Future
Any progress on this? Actually we wish it would be fixed in the future because it prevents us from using silient install.
This bug is marked "Future", an indication no one is working on it. However this is unix specific, maybe there's a different bug for Windows.
It does not work for Windows too. So I think it is reasonable to mark it as ALL platform and maybe mark another bug as DUP of this one.
OS: Linux → All
That's not helpful. File execution is ultimately platform specific code and the chances are we'll have to fix it in multiple places, leaving the opportunity to miss a fix or testing the fix on one or more platforms if they're lumped into one bug. bug 104152 is marked FIXED, so if you think it's still broken please reopen it. I can guarantee no one's trying to fix a bug they think is already fixed.
Yes, it has been fixed in Mozilla 0.9.7 or later for Windows. Check the platform back to Linux. Thanks, Dan!
OS: All → Linux
QA Contact: jimmykenlee → xpi-engine
Product: Core → Core Graveyard
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.