You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most important info from the code base:
###NOTE! Be careful, it could spawn infinite processes.
Prepare following command pkill -9 -f main_script and use it right after Ctrl + C on executable file
You can test the patch in the latest development build: pip install --upgrade --pre --extra-index-url https://marcelotduarte.github.io/packages/ cx_Freeze
I tested the PR in Ubuntu 20.04 Python 3.10.6 but I expect that it should work from Python 3.8 to 3.12.
Hello.
I faced with following issue:
Env:
Ubuntu - 18.04
Python - 3.6.6
cx_Freeze - 6.1
Code base:
https://github.com/Yuriy-Leonov/cython_multiprocessing_issue
There is a simple
main_script.py
:If run it with command
python main_script.py
expected things will happen - 5 print.But If "make executable file" with following script and command
python setup.py build
:and then run it from folder
build/exe.linux-x86_64-3.6
like./main_script
it produces following log and infinite count of processes:I'm not sure, did I do all in a right way, but it looks very unexpected from my sight. Therefore I've created this ticket.
The text was updated successfully, but these errors were encountered: