How to start an app by a terminal and to keep it running, when closing the terminal?

Ralf Mardorf ralf.mardorf at alice-dsl.net
Tue May 20 21:33:52 UTC 2014


PS:
> Why is evolution launched, while "evowrap --force-shutdown" and "evoterm --force-shutdown" are running?
> 
> case $1 in
>   JWM) evoterm --force-shutdown
>        while ps aux | grep "evowrap --force-shutdown" | grep -v grep ; do sleep 1 ; done
>        while ps aux | grep "evoterm --force-shutdown" | grep -v grep ; do sleep 1 ; done
>        evolution
>        exit;;
> esac

Shouldn't the while-loops prevent to launch evolution?




More information about the D-community-offtopic mailing list