Re: [Tutor] subprocess.call warning

2010-10-04 Thread Steven D'Aprano
On Mon, 4 Oct 2010 05:42:16 pm Norman Khine wrote: > >> the first calls the 'sox' library which joins all the .wav files > >> into one file and then i use the 'wav2swf' library to create a SWF > >> output of the file. > >> > >> can the code be improved? > > > > Code can always be improved :-) What

Re: [Tutor] subprocess.call warning

2010-10-04 Thread Norman Khine
thank you for the reply On Mon, Oct 4, 2010 at 12:47 AM, Steven D'Aprano wrote: > On Mon, 4 Oct 2010 06:44:54 am Norman Khine wrote: >> hello, from the docs http://docs.python.org/library/subprocess.html i >> see there is a WARNING about deadlock when using the subprocess.call. >> in my code i ha

Re: [Tutor] subprocess.call warning

2010-10-03 Thread Steven D'Aprano
On Mon, 4 Oct 2010 06:44:54 am Norman Khine wrote: > hello, from the docs http://docs.python.org/library/subprocess.html i > see there is a WARNING about deadlock when using the subprocess.call. > in my code i have this > > http://pastie.org/1197024 The warning says: Like Popen.wait(), this

[Tutor] subprocess.call warning

2010-10-03 Thread Norman Khine
hello, from the docs http://docs.python.org/library/subprocess.html i see there is a WARNING about deadlock when using the subprocess.call. in my code i have this http://pastie.org/1197024 the first calls the 'sox' library which joins all the .wav files into one file and then i use the 'wav2swf'