in reply to Re^6: System command silent screen
in thread System command silent screen

I nevertheless prefer afoken’s solution, because it would be a general one.   (Also, as noted, it is something that has probably already been done.)

In my book, it is well worth the “extra effort” to develop a solution that makes a problem go-away completely, in every case, and never come back under any (unforseen at the time it was written) circumstances.   (The “suh-prize!”-es usually pop up at three o’clock in the morning.)   Best to “whack that mole” such that it stays whacked.

Replies are listed 'Best First'.
Re^8: System command silent screen
by ikegami (Patriarch) on Oct 11, 2010 at 18:24 UTC

    I nevertheless prefer afoken’s solution

    Using fork and exec and pipe and dup2 yourself? You're talking about a substantial amount of code. (50 lines?) That's the solution of his I was replacing.