cvs: phpdoc-es / translation.xml /reference/exec/functions escapeshellarg.xml proc-close.xml proc-nice.xml proc-terminate.xml shell-exec.xml

From: Date: Tue, 11 Nov 2003 06:05:36 +0000
Subject: cvs: phpdoc-es / translation.xml /reference/exec/functions escapeshellarg.xml proc-close.xml proc-nice.xml proc-terminate.xml shell-exec.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-399@lists.php.net to get a copy of this message
lboshell Tue Nov 11 01:05:36 2003 EDT Added files: /phpdoc-es/reference/exec/functions escapeshellarg.xml proc-close.xml proc-nice.xml proc-terminate.xml shell-exec.xml Modified files: /phpdoc-es translation.xml Log: Nuevos archivos de reference/exec. Asignacion de nuevo trabajo.

Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.82 phpdoc-es/translation.xml:1.83 --- phpdoc-es/translation.xml:1.82 Mon Nov 10 17:23:49 2003 +++ phpdoc-es/translation.xml Tue Nov 11 01:05:34 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.82 $ --> +<!-- $Revision: 1.83 $ --> <!DOCTYPE translation SYSTEM "../entities/translation.dtd"> <translation> @@ -44,10 +44,10 @@ <file name="reference/dio/functions/dio-tcsetattr.xml" person="javi" type="translation" date="09.11.2003"/> <file name="reference/dio/functions/dio-truncate.xml" person="javi" type="translation" date="09.11.2003"/> <file name="reference/dio/functions/dio-write.xml" person="javi" type="translation" date="09.11.2003"/> -<file name="reference/exec/functions/escapeshellarg.xml" person="lboshell" type="translation" date="10.11.2003"/> -<file name="reference/exec/functions/proc-close.xml" person="lboshell" type="translation" date="10.11.2003"/> -<file name="reference/exec/functions/proc-nice.xml" person="lboshell" type="translation" date="10.11.2003"/> -<file name="reference/exec/functions/proc-terminate.xml" person="lboshell" type="translation" date="10.11.2003"/> -<file name="reference/exec/functions/shell-exec.xml" person="lboshell" type="translation" date="10.11.2003"/> +<file name="reference/filesystem/constants.xml" person="lboshell" type="translation" date="11.11.2003"/> +<file name="reference/filesystem/ini.xml" person="lboshell" type="translation" date="11.11.2003"/> +<file name="reference/filesystem/functions/fscanf.xml" person="lboshell" type="translation" date="11.11.2003"/> +<file name="reference/filesystem/functions/glob.xml" person="lboshell" type="translation" date="11.11.2003"/> +<file name="reference/filesystem/functions/move-uploaded-file.xml" person="lboshell" type="translation" date="11.11.2003"/> </work-in-progress> </translation> Index: phpdoc-es/reference/exec/functions/escapeshellarg.xml +++ phpdoc-es/reference/exec/functions/escapeshellarg.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/exec.xml, last change in rev 1.8 --> <refentry id="function.escapeshellarg"> <refnamediv> <refname>escapeshellarg</refname> <refpurpose>escapar una cadena a ser usada como argumento del int&eacute;rprete de comandos</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>string</type><methodname>escapeshellarg</methodname> <methodparam><type>string</type><parameter>arg</parameter></methodparam> </methodsynopsis> <para> <function>escapeshellarg</function> agrega comillas sencillas alrededor de una cadena y rodea de comillas/escapa cualquier comilla sencilla existente, permiti&eacute;ndole pasar la cadena directamente a una funci&oacute;n del int&eacute;rprete de comandos, y logrando que sea tratada como un solo argumento seguro. Esta funci&oacute;n debe ser usada para escapar argumentos individuales a funciones del int&eacute;rprete de comandos que provienen de la entrada del usuario. Las funciones del int&eacute;rprete de comandos incluyen <function>exec</function>, <function>system</function> y el <link linkend="language.operators.execution">operador de comilla invertida</link>. Una forma regular de usar esta funci&oacute;n ser&iacute;a: </para> <para> <informalexample> <programlisting role="php"> <![CDATA[ <?php system('ls '.escapeshellarg($dir)); ?> ]]> </programlisting> </informalexample> </para> <para> Vea tambi&eacute;n <function>escapeshellcmd</function>, <function>exec</function>, <function>popen</function>, <function>system</function>, y el <link linkend="language.operators.execution">operador de comillas invertidas</link>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-es/reference/exec/functions/proc-close.xml +++ phpdoc-es/reference/exec/functions/proc-close.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/exec.xml, last change in rev 1.28 --> <refentry id='function.proc-close'> <refnamediv> <refname>proc_close</refname> <refpurpose> Cierra un proceso abierto por <function>proc_open</function> y devuelve el c&oacute;digo de salida del proceso. </refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>int</type><methodname>proc_close</methodname> <methodparam><type>resource</type><parameter>proceso</parameter></methodparam> </methodsynopsis> <para> <function>proc_close</function> es similar a <function>pclose</function>, excepto que solo trabaja con procesos abiertos por <function>proc_open</function>. <function>proc_close</function> espera a que el proceso termine, y devuelve su c&oacute;digo de salida. Si tiene pipes abiertos con ese proceso, debe usar <function>fclose</function> sobre ellos antes de llamar esta funci&oacute;n, con el prop&oacute;sito de evitar bloqueos muertos - puede que el proceso hijo no pueda salir mientras los pipes se encuentren abiertos. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-es/reference/exec/functions/proc-nice.xml +++ phpdoc-es/reference/exec/functions/proc-nice.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <refentry id='function.proc-nice'> <refnamediv> <refname>proc_nice</refname> <refpurpose> Modificar la prioridad del proceso actual </refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>bool</type><methodname>proc_nice</methodname> <methodparam><type>int</type><parameter>prioridad</parameter></methodparam> </methodsynopsis> <para> <function>proc_nice</function> modifica la prioridad del proceso actual. Si un error ocurre, como que el usuario carezca de permisos para modificar la prioridad, un error de nivel <constant>E_WARNING</constant> es generado, y se devuelve &false;. De otro modo, se devuelve &true;. </para> <note> <para> <function>proc_nice</function> existir&aacute; &uacute;nicamente si su sistema tiene soporte para 'nice'. 'nice' est&aacute; definido de acuerdo a los est&aacute;ndares: SVr4, SVID EXT, AT&amp;T, X/OPEN, BSD 4.3. Esto quiere decir que <function>proc_nice</function> no est&aacute; disponible en windows. </para> </note> <para> La funci&oacute;n <function>proc_nice</function> no se encuentra relacionada con <function>proc_open</function> ni sus funciones asociadas en ninguna forma. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-es/reference/exec/functions/proc-terminate.xml +++ phpdoc-es/reference/exec/functions/proc-terminate.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <refentry id='function.proc-terminate'> <refnamediv> <refname>proc_terminate</refname> <refpurpose> mata un proceso abierto por proc_open </refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>int</type><methodname>proc_terminate</methodname> <methodparam><type>resource</type><parameter>proceso</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>senyal</parameter></methodparam> </methodsynopsis> <para> Env&iacute;a una se&ntilde;al al <parameter>proceso</parameter> (creado usando <function>proc_open</function>) indicando que deber&iacute;a terminar. <function>proc_terminate</function> retorna inmediatamente y no espera a que el proceso termine. </para> <para> La <parameter>senyal</parameter> opcional es &uacute;til &uacute;nicamente en sistemas operativos <acronym>POSIX</acronym>; puede especificar una se&ntilde;al a ser enviada al proceso usando la llamada del sistema <literal>kill(2)</literal>. La se&ntilde;al predeterminada es <literal>SIGTERM</literal>. </para> <para> <function>proc_terminate</function> le permite terminar el proceso y continuar con otras tareas. Puede consultar el estado del proceso (para ver si ya se ha detenido) usando la funci&oacute;n <function>proc_get_status</function>. </para> <para> Vea tambi&eacute;n <function>proc_open</function>, <function>proc_close</function>, y <function>proc_get_status</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-es/reference/exec/functions/shell-exec.xml +++ phpdoc-es/reference/exec/functions/shell-exec.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/exec.xml, last change in rev 1.2 --> <refentry id='function.shell-exec'> <refnamediv> <refname>shell_exec</refname> <refpurpose> Ejecutar un comando mediante el int&eacute;rprete de comandos y devolver la salida completa como una cadena </refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>string</type><methodname>shell_exec</methodname> <methodparam><type>string</type><parameter>cmd</parameter></methodparam> </methodsynopsis> <para> Esta funci&oacute;n es id&eacute;ntica al <link linkend="language.operators.execution">operador de comillas invertidas</link>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.doc.es (#399) next »