4 ms·
run () { ( exec "$@" < /dev/null > /dev/null 2>&1 & ) } to invoke x11 applications from command line.
by vrdhn 3y ago
run ()
{
( exec "$@" < /dev/null > /dev/null 2>&1 & )
}
to invoke x11 applications from command line.
- extraduder_ire 3y agoYou can also use nohup, if you don't want the application to close when your shell does. Haven't found out how to disable writing stdout to nohup.out though. (redirecting output might do it, haven't tried.)