3 ms·
If you write the python command by hand and are aware of the issue, you can certainly mitigate it. But if some shellscript you run internally uses some Python
by mg 4y ago
If you write the python command by hand and are aware of the issue, you can certainly mitigate it.
But if some shellscript you run internally uses some Python via "python -m" or "python -c" running that shellscript is also dangerous. Even if it is completely trustworthy.
- eesmith 4y agoWhat it means is there's a migration path, and we can start using "python -Pm" or whatever in documentation, sh-bang paths, and so on. Hmmm.... is there a way to tell the entry points which command-line flags to specify for the auto-generated Python start scripts?