diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2017-08-10 13:51:41 +0200 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-08-23 16:31:08 -0700 |
commit | c6da5c8cdfae9e80d63f090c4289fd146c3175df (patch) | |
tree | 8b4cff42fdfb870de871ad05e8d554a7b24e9643 /doc/api/console.md | |
parent | 772145674cc5ae744128ca562a902ed86d3c3d0c (diff) | |
download | android-node-v8-c6da5c8cdfae9e80d63f090c4289fd146c3175df.tar.gz android-node-v8-c6da5c8cdfae9e80d63f090c4289fd146c3175df.tar.bz2 android-node-v8-c6da5c8cdfae9e80d63f090c4289fd146c3175df.zip |
build: better support for python3 systems
Improve support for systems where `python` is actually `python3`.
Not all systems have a `python2` binary, so simply updating the shebang
won't work.
What we can do is apply some cleverness: start life as a shell script,
locate the python binary, then re-execute the script but this time as
python code.
Special care is taken to ensure that spaces in arguments are passed on
verbatim.
PR-URL: https://github.com/nodejs/node/pull/14737
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'doc/api/console.md')
0 files changed, 0 insertions, 0 deletions