🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Capturar la salida de un programa

#8359
From: Francisco
Date: Tue, 12 Nov 2002 19:53
19 lines
1595 bytes

Angel wrote:
> Francisco presumiblemente dijo el dia Mar 12 Nov 2002 00:12:
> 
> 
>>Blah, blah...
> 
> 
> Prueba con dup y dup2.
> por cierto te recomiendo ( yo y todo programador en linux) q no utilizes la 
> funcion system, es muuuy peligrosa.


	Lo siento, pero no te entiendo. Seg�n el man de 'dup' y 'dup2', estas 
funciones sirven para duplicar un descriptor de ficheros. No veo como 
utilizar estas funciones en mi caso ...

Un saludo.
Technical Details
Message-ID: <3DD15C64.2070601@ono.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.wirehub.nl!kleenex.wirehub.nl!newsf01.ono.com!news.ono.com.POSTED!not-for-mail
References: <3DD03990.1090606@ono.com> <aqqmu8$a0v56$1@ID-148170.news.dfncis.de>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,c70e8198e9aa783d
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-11-12 11:53:27 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.wirehub.nl!kleenex.wirehub.nl!newsf01.ono.com!news.ono.com.POSTED!not-for-mail
Message-ID: <3DD15C64.2070601@ono.com>
From: Francisco <fjaime@ono.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: es-es
MIME-Version: 1.0
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Capturar la salida de un programa
References: <3DD03990.1090606@ono.com> <aqqmu8$a0v56$1@ID-148170.news.dfncis.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 21
Date: Tue, 12 Nov 2002 19:53:19 GMT
NNTP-Posting-Host: 62.42.131.27
X-Complaints-To: abuse@ono.com
X-Trace: news.ono.com 1037130799 62.42.131.27 (Tue, 12 Nov 2002 20:53:19 MET)
NNTP-Posting-Date: Tue, 12 Nov 2002 20:53:19 MET