blocking the commands result

swremove productname gives an output screen which has to be blocked... how can i do that?... can anyone please help???

By "screen", do you mean a graphical dialog box, or just a message printed to standard error?

Thanks for helping... i just redirected it to /dev/null