mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
65d18fce4c
Currently, we are using psutil.Process().name(), which includes the command as entered on the command line. This becomes an issue if the export script is initiated within another script. run.sh #!/usr/bin/bash . ./export.sh In this case the activate script will see `run.sh` instead of bash. /proc/<pid>/com vs /proc/<pid>/exe Use exe(), which contains the full executable path to fix this. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com> |
||
---|---|---|
.. | ||
activate_venv.py | ||
console_output.py | ||
shell_types.py | ||
utils.py |