Message370656
encountered what I believe is the same problem, so here are some more details I noticed, after checking what exactly that process name lookup does using ProcessMonitor:
- when running my external process in a `venv` generated virtual environment, POpen() started subprocess executables are first looked up in the base Python executable's folder (the one used to create our virtual environment) as opposed to the one running the external Python process, if POpen() is called with `shell=False`
- when doing the same and passing `shell=True` to the POpen() call, there is no such initial folder in the lookup
- when doing the same on a `virtualenv` generated virtual environment, the file lookup is done in the correct folder first - the one containing the current Python executable and not in the base one |
|
Date |
User |
Action |
Args |
2020-06-03 11:09:05 | Jurko.Gospodnetić | set | recipients:
+ Jurko.Gospodnetić, paul.moore, eric.smith, tim.golden, zach.ware, eryksun, steve.dower, uranusjr, Benedek Rácz |
2020-06-03 11:09:05 | Jurko.Gospodnetić | set | messageid: <1591182545.72.0.515971791941.issue38905@roundup.psfhosted.org> |
2020-06-03 11:09:05 | Jurko.Gospodnetić | link | issue38905 messages |
2020-06-03 11:09:05 | Jurko.Gospodnetić | create | |
|