Closing terminal window dosn't kill sudo'ed program
Grant Edwards
grant.b.edwards at gmail.com
Thu May 21 21:29:54 CEST 2015
On 2015-05-21, Grant Edwards <grant.b.edwards at gmail.com> wrote:
> $ xfce4-terminal -x sudo ./testit.sh
>
> [closing terminal window doesn't kill testit.sh]
It's obvious after you know the answer: instead of running sudo inside
a terminal, you invoke the terminal window with sudo:
$ sudo xfce4-terminal -x ./testit.sh
In the launcher, uncheck the "run in terminal" box and use the command
above.
Now when the terminal window is closed, testit.sh gets killed.
--
Grant Edwards grant.b.edwards Yow! I feel ... JUGULAR ...
at
gmail.com
More information about the Xfce
mailing list