How do I run the IDE in the foreground on Linux host?

Question

How do I run the IDE in the foreground on a GNU/Linux host, instead of launching it as a background task?

Answer

The default behavior of the Sourcery CodeBench IDE executable (sourcerygxx-ide) is to launch the IDE as a background process, then exit. Sometimes it's desirable to instead run the IDE in the foreground and wait until it terminates before exiting. For example, this behavior is required if you're trying to integrate the IDE with a desktop launcher environment such as Ubuntu Unity.

To facilitate this, use the --foreground command-line option when starting the IDE:

sourcerygxx-ide --foreground

Note that this option is only provided on GNU/Linux hosts, and is only available in 2013.03 and later releases.


This entry was last updated on 8 March 2013.