I'm sure this is a silly question

Kostas Sfakiotakis kostassf at cha.forthnet.gr
Thu Apr 7 21:51:58 UTC 2005


Greetings ,

Rick Stevens wrote:

< snip >

>>
>> Put an ampersand after your command to run it in the background. For 
>> example, you can type this in console:
>>
>> gedit &
>>
>> Now if you close the console, gedit will still be running.
> 
> 
> Better yet:
> 
>     gedit >/dev/null 2>&1 &
> 
> (redirect both stdout and stderr to /dev/null and run program in
> background).

Rick, by sending both stdout and stderr to /dev/null wouldn't you
prevent gedit ( or whatever the application is ) from printing an error
message should an error condition, or even an application crash  occur ?

Kind Regards,
   Kostas




More information about the users mailing list