We would have this
```python
local_python_env = dict(os.environ)
local_python_env["PYTHONPATH"] = os.path.join(
  os.path.dirname(__file__), os.pardir,
  ".env", 'lib', 'python%s' % sys.version[:3], 'site-packages'
)

process = subprocess.Popen(args, shell=False, env=local_python_env)

process.wait()
sys.exit(process.returncode)
```
instead of this
```python
process = subprocess.Popen(args, shell=False)

process.wait()
sys.exit(process.returncode)
```

Basically, the environment would be set to something that not exists (```.env/lib/python27/site-packages```). Also, all the resources that the script needs are already in the environment.