Fix the test_subprocess failure when sys.executable is meaningless: '' or a directory.
It does not fix #7774.
2 files changed