Is there a way to return to the command line after opening the application through it?
3 answers
You can do a background job. In the Bash shell, this is done with &
. For example:
some_script_or_application &
Note that some daemons and processes are on their own. For example, on OS X, launch open some.pdf
will view the PDF in a GUI, returning immediately the command line without having to do anything special.
See the GNU Bash manual for job management for background jobs for details .
0
source to share