kornelix
December 2nd, 2006, 08:36 AM
Here is a simple script I want to invoke from a desktop launcher:
sudo -b /path-to-executable
exitIf I invoke this script interactively, it works as desired: the executable is launched and bash exits, leaving the executable running.
I cannot find any way to make the same thing work from a desktop launcher. A window appears and disappears in milliseconds.
I have tried combinations of "application" and "application in terminal" with the above command: sudo ... and with: bash -c "sudo ..."
What is the magic formula?
sudo -b /path-to-executable
exitIf I invoke this script interactively, it works as desired: the executable is launched and bash exits, leaving the executable running.
I cannot find any way to make the same thing work from a desktop launcher. A window appears and disappears in milliseconds.
I have tried combinations of "application" and "application in terminal" with the above command: sudo ... and with: bash -c "sudo ..."
What is the magic formula?