Article View: es.comp.os.linux.programacion
Article #6453Re: Como hacer que un programa se detenga si dura más de 5 s, pudiendo haber muchos otros?
From: erUSUL
Date: Wed, 25 Jun 2003 12:05
Date: Wed, 25 Jun 2003 12:05
31 lines
2658 bytes
2658 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc escribiu: |[...] | Aunque no s� como se puede obtener el pid de un programa desde un script. Creo que hay una variable shell especifica que contiene el PID del �ltimo programa llamado desde el script. | Repito, programar scripts no es mi fuerte, pero creo que, si es posible | hacer esto, te servir�. | | | La belleza est� en el interior (Jack el Destripador) - -- ������������������������������������������������������������������������ What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is brought under the name of totalitarianism or the holy name of liberty and democracy? ����������������������������������������������������Ghandi�������������� -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE++ZAeqfn9fs8R3NwRAljWAJ4tany2hodP5A1+SSuGHhKP5r5KggCdGIcQ 4/MjPYZymd1tyRbA872Ik6w= =XKgF -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<3ef99593_1@news.arrakis.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!news-out.newsfeeds.com!propagator2-maxim!news-in.superfeed.net!caladan.arrakis.esReferences:
<3EEB0096.4090802@us.es> <bcf7hf$4pp$1@news.ya.com>Show Full Headers
Complete Article Headers
X-Google-Language: PORTUGUESE,ASCII X-Google-Thread: f86c8,c4ba89e2fe1df8b0 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-06-25 05:29:08 PST Date: Wed, 25 Jun 2003 14:05:52 +0200 From: erUSUL <erusul@myway.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; gl-ES; rv:1.3) Gecko/20030312 Hamster-Pg/1.9 X-Accept-Language: gl, es-es, es, en MIME-Version: 1.0 Newsgroups: es.comp.os.linux.programacion Subject: Re: Como hacer que un programa se detenga si dura más de 5 s, pudiendo haber muchos otros? References: <3EEB0096.4090802@us.es> <bcf7hf$4pp$1@news.ya.com> In-Reply-To: <bcf7hf$4pp$1@news.ya.com> X-Enigmail-Version: 0.74.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 195.5.77.37 Message-ID: <3ef99593_1@news.arrakis.es> X-Trace: caladan.arrakis.es 1056544147 195.5.77.37 (25 Jun 2003 14:29:07 +0100) Organization: Arrakis Servicios y Comunicaciones SLU Lines: 32 X-Original-NNTP-Posting-Host: 195.5.65.34 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!news-out.newsfeeds.com!propagator2-maxim!news-in.superfeed.net!caladan.arrakis.es