<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Programas, Funções de Execução</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="Manual do PHP" HREF="index.html"><LINK REL="UP" TITLE="Referência das Funções" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="printer_write" HREF="function.printer-write.html"><LINK REL="NEXT" TITLE="escapeshellarg" HREF="function.escapeshellarg.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual do PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.printer-write.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.escapeshellarg.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.exec" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >CXXX. Programas, Funções de Execução</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN184449" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="exec.intro" >Introdução</A ></H1 ><P > Estas funções prôvem meios para executar comandos no sistema em si, e meios de tornar seguros estes comandos. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="exec.requirements" >Dependências</A ></H1 ><P >Nenhuma biblioteca externa é necessária para compilar esta extensão.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="exec.installation" >Instalação</A ></H1 ><P >Não há nenhuma instalação necessária para utilizar estas funções, elas fazem parte do núcleo do PHP.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="exec.configuration" >Configurações em execução</A ></H1 ><P >Esta extensão não define nenhum parâmetro de configuração no <TT CLASS="filename" >php.ini</TT >.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="exec.resources" >Tipos Resource</A ></H1 ><P >Esta extensão não possui nenhum tipo resource.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="exec.constants" >Constantes pré-definidas</A ></H1 ><P >Esta extensão não possui nenhuma constante.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="exec.seealso" >Veja também</A ></H1 ><P > Estas funções estão muito relacionadas com <A HREF="language.operators.execution.html" >backtick operator</A >. Também, quando em <A HREF="features.safe-mode.html#ini.safe-mode" >safe mode</A > você deverá considerar a diretiva <A HREF="features.safe-mode.html#ini.safe-mode-exec-dir" > safe_mode_exec_dir</A >. </P ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Índice</B ></DT ><DT ><A HREF="function.escapeshellarg.html" >escapeshellarg</A > -- Escapa uma string para usar como um argumento shell</DT ><DT ><A HREF="function.escapeshellcmd.html" >escapeshellcmd</A > -- escapa metacaracteres shell</DT ><DT ><A HREF="function.exec.html" >exec</A > -- Executa um programa externo</DT ><DT ><A HREF="function.passthru.html" >passthru</A > -- Executa um programa externo e mostra a saída crúa </DT ><DT ><A HREF="function.proc-close.html" >proc_close</A > -- Fecha um processo aberto por <A HREF="function.proc-open.html" ><B CLASS="function" >proc_open()</B ></A > e retorna o código de saída do processo. </DT ><DT ><A HREF="function.proc-get-status.html" >proc_get_status</A > -- Obtem informação sobre um processo aberto por <A HREF="function.proc-open.html" ><B CLASS="function" >proc_open()</B ></A > </DT ><DT ><A HREF="function.proc-nice.html" >proc_nice</A > -- Muda a prioridade do processo atual </DT ><DT ><A HREF="function.proc-open.html" >proc_open</A > -- Executa um comando e abre ponteiros de arquivos para entrada/saída </DT ><DT ><A HREF="function.proc-terminate.html" >proc_terminate</A > -- Mata um processo aberto por proc_open </DT ><DT ><A HREF="function.shell-exec.html" >shell_exec</A > -- Executa um comando via shell e retorna a saída inteira </DT ><DT ><A HREF="function.system.html" >system</A > -- Executa um programa externo e mostra a saída</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.printer-write.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Principal</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.escapeshellarg.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >printer_write</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >Acima</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >escapeshellarg</TD ></TR ></TABLE ></DIV ></BODY ></HTML >