🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #10255

como utilizar execve...

#10255
From: sdds
Date: Sun, 17 Mar 2002 16:48
7 lines
1124 bytes
No se bien como he de utilizar esta funcion, se de que va y para que la
quiero pero si alguien me pusiera un breve ejemplo me ayudaria mucho.

Por ejemplo, como deberia utilizarla para desde un programa en c, y desde un
proceso hijo, ejecutar un ls -l

gracias
Technical Details
Message-ID: <a72gv5$iiv$1@talia.mad.ttd.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.bcn.ttd.net!nsnmrro1-lo.nuria.telefonica-data.net!news.mad.ttd.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,6cf55f0706da2aea,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-03-17 08:43:25 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.bcn.ttd.net!nsnmrro1-lo.nuria.telefonica-data.net!news.mad.ttd.net!not-for-mail
From: "sdds" <repiteclave2@hotmail.com>
Newsgroups: es.comp.os.linux.programacion
Subject: como utilizar execve...
Date: Sun, 17 Mar 2002 17:48:10 +0100
Organization: Telefonica Transmision de Datos
Lines: 13
Message-ID: <a72gv5$iiv$1@talia.mad.ttd.net>
NNTP-Posting-Host: 213-99-168-13.uc.nombres.ttd.es
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300