🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: como utilizar execve...

#10257
From: NotFound
Date: Sun, 17 Mar 2002 04:38
10 lines
1228 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

Para trivialidades así utiliza system y no te compliques.

Salu2
Technical Details
Message-ID: <3C941DC1.1C22552F@hobbiton.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.158.233.21!news.ebone.net!news1.ebone.net!cesio.mundo-r.com!not-for-mail
References: <a72gv5$iiv$1@talia.mad.ttd.net>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,6cf55f0706da2aea
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-03-17 09:11:54 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.158.233.21!news.ebone.net!news1.ebone.net!cesio.mundo-r.com!not-for-mail
From: NotFound <blassic@hobbiton.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: como utilizar execve...
Date: Sun, 17 Mar 2002 05:38:26 +0100
Organization: Another Netscape Collabra Server User
Lines: 10
Message-ID: <3C941DC1.1C22552F@hobbiton.org>
References: <a72gv5$iiv$1@talia.mad.ttd.net>
NNTP-Posting-Host: cm65187.red.mundo-r.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.14 i586)
X-Accept-Language: en