PythonScript icon indicating copy to clipboard operation
PythonScript copied to clipboard

multiprocessing doesn't work

Open wuwao1 opened this issue 5 years ago • 3 comments

import multiprocessing
def listen_process():
    while 1 < 2:
        print "blue"

q = multiprocessing.Process(target=listen_process)
q.start()

Tips are as follows image image image image

wuwao1 avatar Jan 03 '21 12:01 wuwao1

@wuwao1 What version of pythonscript and N++ did you use?

chcg avatar Jan 03 '21 18:01 chcg

Issue could be reproduced with N++ 7.9.1 + alpha 3.0.5. Further examples which also cause the issue see https://docs.python.org/3/library/multiprocessing.html.

chcg avatar Jan 03 '21 18:01 chcg

A clue to the problem stackoverflow

wuwao1 avatar Dec 21 '21 11:12 wuwao1