Saxtheowl
Saxtheowl

Reputation: 4658

avoid useless looping shell after launching program

Simple question but when I write something like " evince document .pdf" my program is launched but now my actual shell window keep looping so I have to use another one is there a way to not have an empty shell each time I launch some program from shell ?

Upvotes: 0

Views: 31

Answers (1)

ArtemB
ArtemB

Reputation: 3622

You can put the app into background by adding &:

# evince document.pdf &

This would return control to the shell and would keep the app running, provided it does not attempt to read/write on standard input/output. If it does, you may try using nohup or redirect stdio to/from /dev/null.

Upvotes: 2

Related Questions