Skip to content

Commit 68f673a

Browse files
author
bmartinn
committed
Test windows multiprocessing support
1 parent 5b90f70 commit 68f673a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/pip/__main__.py

+7
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,11 @@
2323
from pip._internal.cli.main import main as _main # isort:skip # noqa
2424

2525
if __name__ == '__main__':
26+
try:
27+
# windows multiprocessing support
28+
from multiprocessing import freeze_support
29+
freeze_support()
30+
except ImportError:
31+
pass
32+
2633
sys.exit(_main())

0 commit comments

Comments
 (0)