Results 1 to 1 of 1
  1. #1

    Member Since
    Oct 26, 2010
    App behaves strangely when double-clicked vs command-line
    I'm currently re-branding and customizing the SeaMonkey browser. None of that is really important except for the fact that I see different behavior in how I run the program: double-clicking the icon vs running from command-line.

    Basically, I've created my own binary executable that starts the browser with command-line arguments. If I run the binary executable which is the file that is referenced by "Executable file" in Info.plist at the command-line, my browser starts perfect every time (./foomozlauncher).

    However, if I run my browser by double-clicking the icon it sometimes starts in a strange state where I can't focus or type in any textboxes in the browser. I can make this consistently happen if I wipe the profile cache and upon the first start up (via double-clicking) it enters the messed-up state and every subsequent start-up works fine as if I had run it via command-line. If I run via command-line the browser starts *perfectly* no matter whether I've wiped the profile cache or not.

    So what I need to know is where the problem lies via double-clicking. I thought running the same "Executable file" at the command line was identical to running the app via double-clicking the icon. Doesn't double-clicking in effect just run the binary executable identified by the "Executable file" field in Info.plist? If so why does running that same binary at the command-line always work but double-clicking the app icon create the strange behavior?

    I will attach my Info.plist and maybe someone might see something missing that I need. I do know that the SeaMonkey browser uses Rosetta which I've already installed if that makes any difference.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Create app from command line tool
    By wvtrammell in forum OS X - Development and Darwin
    Replies: 6
    Last Post: 01-09-2014, 08:46 PM
  2. Installing .app from command line
    By jnojr in forum OS X - Operating System
    Replies: 5
    Last Post: 03-04-2013, 01:48 PM
  3. Alt-key behaves strangely
    By fitfot in forum OS X - Operating System
    Replies: 8
    Last Post: 07-03-2012, 01:45 PM
  4. Mail behaves very very strangely...
    By 24z in forum Switcher Hangout
    Replies: 3
    Last Post: 01-23-2008, 05:42 AM
  5. I need help with this command line using Terminal app
    By SniperCrim in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 09-08-2007, 12:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts