Olé Le 9 mai 2011 19:56, Thomas AYIH-AKAKPO <[email protected]> a écrit : > > Ok. En réalité j'ai besoin de lancer ma/mes commande(s) en arrière plan et > l'aspect bloquant du wait() me gênait un peu. Mais bon, je vais contourner > tout ça avec du multithreading. >
A priori ce n'est pas un contournement, c'est un chemin logique ;) Ceci dit, attention aux petits pièges du copain GIL... Python et les threads, ça coince. Selon la doc, essaye plutôt d'utiliser un python >= 2.6 avec son module http://docs.python.org/library/multiprocessing.html a+ -- Thomas
-- Ce message a été envoyé à la liste [email protected] Gestion de votre abonnement : http://dakarlug.org/liste Archives : http://news.gmane.org/gmane.org.user-groups.linux.dakarlug Le site du DakarLUG : http://dakarlug.org
