Re: subprocess.communicate messes things up

2007-09-07 Thread Gabriel Genellina
En Fri, 07 Sep 2007 22:51:34 -0300, <[EMAIL PROTECTED]> escribi�: > problem is that the first time I press a key, it works, but after it > just print the keys I press, the annoying line being the one with > communicate, any idea of what is happening ? > > child1 = subprocess.Popen("/usr/bin/

subprocess.communicate messes things up

2007-09-07 Thread KingShivan
please could you take a look at this piece of code ? what I'd like is typically a sound boc : press one key, and get the associated sound. for this I place the sound files in different directories (easy to move and modify) and when a key is pressed I grab the first file of the corresponding direct