Command line parameter transfer


I didn’t find an easy way to transfer the command line parameters to the embedded executable.

More precisely I would like that the parameter line “param1 param2 param3” of the invocation:

/path/myimage.AppImage param1 param2 param3 etc…`

be transferred to the embedded executable.

How can this be done ?

Note that I am using the AppRun script binary.

1 Like

In ./AppRun you can use

exec ./your/executable "$@"

The "$@" transfers all command line parameters to the executable inside the AppImage.