Hola muchas gracias por las respuestas, me sirvieron mucho.
El 11 de octubre de 2013 02:16, Rock Neurotiko<miguelglafue...@gmail.com>escribió: > Por el bien de tu sistema operativo, ni pienses en eso, y deja que el > gestione los pid's, porque si no puedes tener un lio de la ostia. > > Si quieres saber el pid es tan facil como: > > ps aux | grep 'tuScript' | awk '{print $2}' > > Si quieres matarlo en la misma linea: > > kill $(ps aux | grep 'tuScript' | awk '{print $2}') > > > > > El 10 de octubre de 2013 15:27, Julio Hector Aguilar Renteria < > jhagui...@gmail.com> escribió: > >> Cordial Saludo >> >> Hola buenos días, quisiera saber si es posible hacer que un script python >> siempre tenga el mismo pid, tengo varios scripts python y en ocasiones es >> necesario detener e iniciar nuevamente un script y quiero hacerlo de manera >> automatica. >> >> Muchas Gracias >> >> >> Atentamente, >> >> >> *Jhaguilar* >> >> _______________________________________________ >> Python-es mailing list >> Python-es@python.org >> https://mail.python.org/mailman/listinfo/python-es >> FAQ: http://python-es-faq.wikidot.com/ >> >> > > > -- > Miguel García Lafuente - Rock Neurotiko > > Do it, the devil is in the details. > The quieter you become, the more you are able to hear. > If we make consistent effort, based on proper education, we can change the > world. > > El contenido de este e-mail es privado, no se permite la revelacion del > contenido de este e-mail a gente ajena a él. > > _______________________________________________ > Python-es mailing list > Python-es@python.org > https://mail.python.org/mailman/listinfo/python-es > FAQ: http://python-es-faq.wikidot.com/ > > -- Cordial Saludo Muchas Gracias Atentamente, *Julio Hector Aguilar Renteria *Celular: 315 331 7344 Skype: jharvao MSN: jhar...@hotmail.com Cali - Colombia
_______________________________________________ Python-es mailing list Python-es@python.org https://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/