mirror of
https://github.com/python/cpython.git
synced 2026-05-09 06:01:08 -04:00
480f48035b
The forkserver was not passing sys.argv to its main() function, causing
sys.argv to be empty during `__main__` module import in child processes. This
fixes a non-obvious regression inadvertently introduced by the gh-126631 main
preloading fix.
(cherry picked from commit 298d5440eb)