MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

Advanced invoker command line parameters

This section describes some of the invoker command line parameters. For a full list, use invoker --help.

--type TYPE

TYPE chooses the type of booster used. Qt booster may be used to launch anything. Possible values for TYPE:

  • m = Launch a MeeGo Touch application.
  • q = Launch a Qt application.
  • d = Launch a Qt Declarative (QML) application.
  • e = Launch any application even if it is not a library.

-d, --delay SECS

After invoking, sleep for SECS seconds (default 0).

-r, --respawn SECS

After invoking, respawn new booster after SECS seconds (default 3, max 10). This can be used if the application is very slow to start up, and respawning the booster interferes.

-w, --wait-term

Wait for launched process to terminate (default). The invoker is not really needed after the application process has been started, but some processes can get confused if the invoker exits immediately. For example, Upstart reacts to invoker exit by trying to launch the same application again.

-n, --no-wait

Do not wait for the launched process to terminate.

-G, --global-syms

Place symbols in the application binary and its libraries to the global scope. See RTLD_GLOBAL in the dlopen manual page.

If your application loads a plugin that needs to access symbols defined in the main application, you need this parameter. You also need to explicitly export the symbols using M_EXPORT or Q_DECL_EXPORT.

-o, --daemon-mode

Notify invoker that the launched process is a daemon. This resets the oom_adj of the process. The flag is not needed if something like Upstart already takes care of daemonisation.