Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
vrdhn
· 3y ago · 0 comments
run () { ( exec "$@" < /dev/null > /dev/null 2>&1 & ) }
to invoke x11 applications from command line.
Comments
[–]
extraduder_ire
3y ago
You 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.)