Expand|Select|Wrap|Line Numbers
- >>> import multiprocessing
- >>> def myfunc():
- ... pass
- ...
- >>> p1 = multiprocessing.Process(name='listen', target=myfunc)
- >>> p1.start()
- >>>
where <myfileName> is my file name with full path.
Also this popup message opens in a new PythonWin window. After a long time (1 min), a "Python Tracekack" window opens up showing -
"Traceback (most recent call last):
File "C:\Python26\Lib\site-packages\Pythonwin\pywin\framework\intpyapp.py", line 245, in ProcessArgs
dde.Exec("win32ui.GetApp().OpenDocumentFile(%s)" % (repr(fname)))
error: Exec failed"
When I run any multiprocessing script (which obviously calls Process.start() ) from command prompt, it seems to run perfectly without any trouble.
I couldn't find anything online related to this problem.
Thanks for the help!!
Amit
P.S:
I am running it on Windows XP, PythonWin, Python 2.6.4v