When you run a script, anything that generates output goes to the mysterious "stdout". When you call your script from a terminal session, then that terminal is stdout. All you need to do to suppress the output is redirect it elsewhere---eg to a file, to /dev/null, etc.
If you run a script from an application link, then nothing gets displayed anywhere--unless of course, the script tells the OS to open a window by some means.
Does this relate to your question??
|