"Schiza, Apostolia (ISS Atlanta)" wrote:
> 
> Hi all,
> in one of my cgi scripts I call system command on a CLI app, but
> I want to hide the output it returns (it actually returns the output of the
> cli program
> which I don't want to display it on the web page). Is there any way just
> to hide the output of the cli program?

Either use backticks `` instead of system (and toss the returned output) or 
redirect the STDOUT of the CLI app to NUL (or a tmp file and delete).

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   http://www.todbe.com/
  / ) /--<  o // //      Mailto:[EMAIL PROTECTED] http://dbecoll.webjump.com/
-/-' /___/_<_</_</_    http://www.freeyellow.com/members/dbecoll/
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to