launching a program from bash causes bash to go to new prompt

Posted by Dan Dman on Ask Ubuntu See other posts from Ask Ubuntu or by Dan Dman
Published on 2012-06-06T01:35:35Z Indexed on 2012/06/06 4:47 UTC
Read the original article Hit count: 1230

Filed under:
|
|
|
|

When I run a program from the console, e.g.

me@box:~$ firefox

I expect the console to log error messages (I think this is std out or std err?) and other items from the program, firefox in this case.

But today I notice that bash just opens the program and goes to a new prompt, e.g.

me@box:~$ firefox
me@box:~$

How do I launch a program from bash such that error messages will be written to the console?

Why is it that some programs operate this way by default and others (firefox) do not?

© Ask Ubuntu or respective owner

Related posts about firefox

Related posts about bash