PDA

View Full Version : Syntax to remove terminal window after command has run?


ChrisM666
June 3rd, 2009, 09:43 AM
I need to launch a CLI app - synergy - and can't ascertain what the syntax is to avoid the terminal window hanging around after the command is completed.

(Not the end of the world but I'm sure things can be kept clean on the desktop.)

ElDiabloConCaca
June 3rd, 2009, 10:39 AM
"exit"

If you're running a one-line script or something, this may work:

./synergy --args; exit