Commits

Maciej Fijalkowski  committed cf1ab17

use env variable for disabling subprocess;

  • Participants
  • Parent commits 4cc0b45

Comments (0)

Files changed (1)

File rpython/tool/runsubprocess.py

         sys.stdout.flush()
 
 
-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'