Quoting  "Guilherme L. Stolfo" <[EMAIL PROTECTED]>
Sent on  Thu, 19 Aug 2004 17:47:37 +0000

> exec("testa.php 1>/dev/null 2>/dev/null &");
> 
> isso � um trecho de um sistema que estou mechendo... e ele esta fazendo 
> isso ai em cima..

redireciona o stdout e stderr para /dev/null.  uma forma mais legivel (e
equivalente) de fazer isso �

        exec("testa.php &>/dev/null &");

-- 
Ricardo Nabinger Sanchez
GNU/Linux #140696 [http://counter.li.org]
Slackware Linux + FreeBSD

  "Keep grandma off the streets -- legalize bingo."
--
GUS-BR - Grupo de Usuarios Slackware - BR
http://www.slackwarebrasil.org/
http://www.linuxmag.com.br/mailman/listinfo/slack-users

Responder a