[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]
[Hilos de Discusión] [Fecha] [Tema] [Autor]On Fri, 8 Jun 2001, Nestor Gomez Munoz wrote:
> Te puede servir la llamada a la función system()
>
> NOMBRE
> system - ejecuta una orden del intérprete de comandos
> (shell)
>
> SINOPSIS
> #include <stdlib.h>
>
> int system (const char * mandato);
>
Como un consejo, utiliza siempre rutas absolutas de ejecuci'on
system("/usr/bin/ls");, por ejemplo y nunca asumas el valor de las
variables de ambiente, por seguridad.
############################################################################
UNIVERSIDAD AUTONOMA DEL ESTADO DE MEXICO ## ANDRES A. MARTINEZ SANCHEZ
DEPARTAMENTO DE SOPORTE TECNICO ## E-mail: aams en coatepec uaemex mx
AREA DE SOFTWARE ## andres en davinci uaemex mx
############################################################################
---------------------------------------------------------------------
Lista de soporte de LinuxPPP
Reglas de la lista en http://linuxppp.com/reglas.html