How to pass $PATH to an application?
When I runs: echo $PATH in terminal, it gives the right and complete path (/Library/Frameworks/Python.framework/Versions/3.10/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin)
However, in Pycharm, os.environ['PATH'] just show the default part of path (/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:)
Why is this happening?
Thanks.
MacBook Pro (2020 and later)