Commit Graph

1 Commits (d242ed7a0e0a1b94dff75033393e531771eb6f03)

Author SHA1 Message Date
iannucci@chromium.org a218d7e915 Add 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

Review URL: https://codereview.chromium.org/1851113003 .

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299681 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago