Re: Running Mozilla from console in Mac OSX 10.2

Simon Fraser <[email protected]>
Newsgroups gmane.comp.mozilla.devel.mac
Organization Netscape Communications Corp.
Message-ID <[email protected]>
In article <[email protected]>,
 Felix Seeger <[email protected]> wrote:

> Hi
> 
> I want to start Mozilla (1.2.1) from the console on Mac OSX 10.2.
> I need this for a script which in the end starts a program (create profile,
> start tomcat, tomcat starts mozilla with the profile)
> 
> But I always get "cannot execute binary file"
> 
> - I tried to extract the content of the disk image
> - I tried to extract the disc image plus the .app directory
> 
> No luck. I also tried the "open" program, but I need to give some parameters
> to mozilla (create a profile) and for me it looks like open cannot do this.
> 
> "file Mozilla" gives "PEF binary"
> 
> Is there a mozilla tar.gz build I can use or another program I can use to
> start mozilla with arguments ?

You can run it from the terminal like this (assuming you're in the 
dir where the app bundle is):

  ./Mozilla.app/Contents/MacOS/mozilla-bin -foobar

Simon

-- 
          Simon Fraser   Entomologist
  [email protected]   http://people.netscape.com/sfraser/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.