DescriptionAdd bash shell function to make python work like it should.
This uses the virtual /proc filesystem to identify when the user runs
`python` without redirecting stdout/stdin. If this is the case, we run
`python -i` instead. Otherwise, or if there are arguments, we run it
verbatim.
R=dnj@chromium.org
BUG=598956
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=299681
Patch Set 1 #Patch Set 2 : actually look for python.sh #Patch Set 3 : add comment #
Messages
Total messages: 7 (1 generated)
|