If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

nsCommandLineService needs to provide a way to get argv[]

RESOLVED FIXED in M4

Status

Core Graveyard
Viewer App
P3
normal
RESOLVED FIXED
19 years ago
9 years ago

People

(Reporter: stuartp, Assigned: Radha on family leave (not reading bugmail))

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: awaiting information from pavlov@pavlov.net)

(Reporter)

Description

19 years ago
this is a follow up to bug #2898

nsCommandLineService does not provide a way to get all of the arguments that are
in argv from main() (or argc). this is needed to properly init GTK with all
command line options.
Status: NEW → ASSIGNED
Shall add methods in nsICommandLine Service for such a facility
(Reporter)

Comment 2

19 years ago
wonderful.  thanks.

Updated

19 years ago
Target Milestone: M4

Comment 3

19 years ago
Set target milestone to M4.

Radha, do we need to fix this for M4?
Yeah. I would like to make this for M4 so that pavlov is not blocked
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
Implemented methods GetArgc() and GetArgv() to nsICmdLineService. Please look at
the file for more info. Marking fixed. Please reopen if this doesn't satify the
gtk needs.

Updated

19 years ago
QA Contact: 3853

Comment 6

19 years ago
pavlov, could you verify with latest build ASAP please?
(Reporter)

Comment 7

19 years ago
it looks ok, but i was having some stupid problems with it when i tried to
impliment it.  my only concern was if this would work with viewer since the
code for this is in apprunner?  i'll try and finish the stuff tonight.

Updated

19 years ago
QA Contact: 4193
Whiteboard: awaiting information from pavlov@pavlov.net
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.