Article View: es.comp.os.linux.programacion
Article #16466proceso hijo no muere
From: Irene Marcelo
Date: Mon, 17 Apr 2000 00:00
Date: Mon, 17 Apr 2000 00:00
7 lines
1130 bytes
1130 bytes
Si yo tengo un proceso hijo que ha de ejecutar un execvp si lo ejecuta con �xito manda un sigchld con lo que el padre al hacer wait se lo carga pero si yo tengo puesto un signal que esta esperando a que el hijo mande el sigchld para hacer wait, si el proceso hijo no ejecuta el execvp con �xito hago que haga exit con lo cual el padre ejecutar�a el wait y se lo cargar�a pero lo que pasa es que se queda hu�rfano y lo recoge init lo cual no me sirve �como debo hacerlo?
Technical Details
Message-ID:
<38FADB77.CC10EA3@alu.ua.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,1507bcaacbfa49e4,start X-Google-Attributes: gidf86c8,public From: Irene Marcelo <imp3@alu.ua.es> Subject: proceso hijo no muere Date: 2000/04/17 Message-ID: <38FADB77.CC10EA3@alu.ua.es> X-Deja-AN: 612158439 Content-Transfer-Encoding: 8bit X-Accept-Language: es Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: news@localhost X-Trace: tabarca.cpd.ua.es 955963196 10420 193.145.234.72 (17 Apr 2000 09:19:56 GMT) Organization: Universidad de Alicante Mime-Version: 1.0 NNTP-Posting-Date: 17 Apr 2000 09:19:56 GMT Newsgroups: es.comp.os.linux.programacion