[lazarus] Program stout bypass

Sebastian Günther sguenther at gmx.de
Tue Apr 18 11:26:15 EDT 2000


UAB Diprintas wrote:
> 
> Hi, all!
> 
> How to BYPASS a StdOut in Linux system of my program?
> For example, I have compiled a some program, and run it from
> an terminal. And the user have a SHOCK, when see a "program comments"
> in the terminal.

I would just write a wrapper script which redirects the output to
/dev/null:
  yourprogram >/dev/null 2>/dev/null

"2>" redirects StdErr

Under Windows and DOS you would use a batch file
  yourprogram >null


- Sebastian






More information about the Lazarus mailing list