FAQ

How to run an application in background?

Currently, Conler does not provider user with a handy way to select launch-mode – all applications are launched sequentially.

But the following workaround is possible:
  1. Create a shell script like that one:

    #!/bin/sh
    $@ &
  2. Name it, for example, /usr/local/bin/run-in-background.sh and make it executable

  3. Modify your command in Command List to look like:

    /usr/local/bin/run-in-background.sh /my/program -arg1 -arg2:value

How to get an output of the run application?

Currently, Conler does not provide user with a handy way to collect program’s output.

But the following workaround is possible:
  1. Create a shell script like that one:

    #!/bin/sh
    $@ 2>&1 > /tmp/launch.log
  2. Name it, for example, /usr/local/bin/run-logged.sh and make it executable

  3. Modify your command in Command List to look like:

    /usr/local/bin/run-logged.sh /my/program -arg1 -arg2:value
  4. Output of launched application will be stored in /tmp/launch.log

Note

This functionality is planned to be implemented in the further versions

Why my command is not executed?

Most common mistakes:
  1. You are trying to run a GUI application which can’t find set $DISPLAY variable
  2. You are trying to run an application which can’t be run with root privileges
  3. You are trying to run an application using relative path such as ../../my-program.sh or just my-program.sh. Use always absolute path instead.
  4. You are trying to run an application which requires interaction with the user.

I can’t run a GUI application because of custom environment variables

Currently Conler doesn’t set up environment variables by itself when run application with non-root privileges. It uses special run wrapper written on shell /usr/bin/conler-run-wrapper.sh.

You can (OR):
  • Modify run wrapper to use custom environment variables

  • Make your own copy of run-wrapper and use it in way:

    • Run command in SUPERUSER environment
    • Command should look like: /usr/bin/my-custom-run-wrapper.sh /my/program.bin -arg val