1. Pypy
  2. Untitled project
  3. pypy


Armin Rigo  committed ae406fc Merge

merge heads

  • Participants
  • Parent commits dd150c0, 1f5ff8d
  • Branches release-2.2.x

Comments (0)

Files changed (1)

File rpython/tool/runsubprocess.py

View file
  • Ignore whitespace
-if sys.platform != 'win32' and hasattr(os, 'fork'):
+if sys.platform != 'win32' and hasattr(os, 'fork') and not os.getenv("PYPY_DONT_RUN_SUBPROCESS", None):
     # do this at import-time, when the process is still tiny
     _source = os.path.dirname(os.path.abspath(__file__))
     _source = os.path.join(_source, 'runsubprocess.py')   # and not e.g. '.pyc'