exe4j Wizard - Redirection

## exe4j Wizard - Redirection |

Note: this advanced option screen is reachable by selecting the "Executable" step and choosing "Redirection" from the [Advanced options] popup menu or by clicking directly on the index.

In this step of the exe4j wizard, you can configure the redirection settings for stderr and stdout.

The following redirection settings can be edited:

- Redirection of stderr
  To redirect stderr to a file, select the `Redirect stderr` checkbox and enter a file name in the adjacent text field.
- Redirection of stdout
  To redirect stdout to a file, select the `Redirect stdout` checkbox and enter a file name in the adjacent text field.

File name are interpreted relative to the executable. Enter `/dev/null` if you want to suppress output completely. You can choose whether the redirection file is overwritten each time the launcher is started or if output should be appended to an existing redirection file.

Note that redirection files are created lazily. This means that if nothing is written to the redirected stream, the file file will not be created or overwritten.

You can use environment variables in the redirection files with the following syntax: `${VARIABLE_NAME}` where you replace VARIABLE_NAME with the desired environment variable.