Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Sometimes I need to run dolphin in console to see the current directory in a GUI (because of some features I've implemented over it).

So I try to do (dolphin > /dev/null) & in order not to have many output but I get messages like QPixmap::scaled: Pixmap is a null pixmap in the console even doing > /dev/null

So what's the problem with my command in order not to show output ?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

You need to redirect both standard out and standard error to /dev/null.

Try the following.

( dolphin > /dev/null 2>&1 )&
share|improve this answer
    
Thank you, it works perfectly :) –  Skydreamer Dec 28 '11 at 15:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.