Re: Subprocess module and unicode input

2007-09-13 Thread Matthew Lausch
Thanks! That worked perfectly. Matt On Sep 7, 10:42 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Fri, 07 Sep 2007 18:46:26 -0300, Matthew Lausch <[EMAIL PROTECTED]> > escribi?: > > > I'd like to use thesubprocessmodule with upper level ch

Subprocess module and unicode input

2007-09-07 Thread Matthew Lausch
I'd like to use the subprocess module with upper level characters in the process name or in the arguments to the process. Something like this: cmd = [ u'test_\u65e5\u672c\u8a9e_exec.bat', u'arg1', u'arg2' ] subprocess.call(cmd) But this gives the error: UnicodeEncodeError: 'ascii' codec can't en