🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: A vueltas con el demonio - asignar terminal a proceso?

#11376
From: Juan Cespedes
Date: Thu, 13 Dec 2001 22:41
16 lines
1484 bytes
"Angels Flores" <aflores@laviniatv.com> wrote in message news:<9v9njs$1bl$1@diana.bcn.ttd.net>...
> El problema es que el proceso que tiene que lanzar el hijo se ve que
> necesita un terminal para poder funcionar, ni idea de porque.

No se si funcionara, pero si solo necesitas una terminal, prueba a
abrir una tty que no vayas a usar (/dev/tty13, por ejemplo) como
lectura/escritura en los fds 0, 1 y 2, y luego ejecuta setsid().

Probablemente eso funcione; si no, habria que investigar un poco mas
detenidamente que es lo que hace ese RealProducer (con ltrace o
strace).

Suerte,

-- 
Juan Cespedes
Technical Details
Message-ID: <251cb474.0112131441.1cc8b704@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <9v9njs$1bl$1@diana.bcn.ttd.net>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,352ab19fa2125682
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-12-13 14:41:42 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: johnny@thehackers.org (Juan Cespedes)
Newsgroups: es.comp.os.linux.programacion
Subject: Re: A vueltas con el demonio - asignar terminal a proceso?
Date: 13 Dec 2001 14:41:42 -0800
Organization: http://groups.google.com/
Lines: 16
Message-ID: <251cb474.0112131441.1cc8b704@posting.google.com>
References: <9v9njs$1bl$1@diana.bcn.ttd.net>
NNTP-Posting-Host: 217.126.141.228
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1008283302 4699 127.0.0.1 (13 Dec 2001 22:41:42 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 13 Dec 2001 22:41:42 GMT