From: Thomas H. <th...@py...> - 2006-06-10 20:43:38
|
Bruno THOORENS wrote: > Hi, > > I wrote a script working perfectly with python > > [...] | ... > line 009| import subprocess as subp > [...] | ... > line 235| subp.Popen('jhead -te "'+os.path.normpath(picture)+'" > "'+os.path.normpath(outpic)+'"',stdout=subp.PIPE) > [...] | ... > > I got an error with my win32 *.exe : > > Exception in Tkinter callback > Traceback (most recent call last): > File "Tkinter.pyo", line 1345, in __call__ > File "Bfw3a.py", line 235, in __batch > File "subprocess.pyo", line 533, in __init__ > File "subprocess.pyo", line 593, in _get_handles > File "subprocess.pyo", line 634, in _make_inheritable > TypeError: an integer is required > > may somebody help me... google for: subprocess "TypeError: an integer is required" and you find this (among others, since this problem is not py2exe specific): http://starship.python.net/crew/theller/moin.cgi/Py2ExeSubprocessInteractions Thomas |