ternjs / tern_for_sublime

Sublime Text package adding Tern support
MIT License
803 stars 54 forks source link

No subprocess.check_output in the Sublime 2.0 subprocess module #15

Closed martineno closed 8 years ago

martineno commented 11 years ago

The subprocess module in Sublime Text 2.0 build 2217 doesn't have the check_output function.

This causes a problem with the tern.py script, which errors out with an error on line 474 of the tern.py script.

This means that it is not possible to install the plugin using the tern.py script.

It seems that all the plugin python files always run with Python 2.6 in Sublime Text 2. The check_output wasn't introduced until 2.7 according to the Python docs.

martineno commented 11 years ago

Addressing this in a pull request: https://github.com/marijnh/tern_for_sublime/pull/16

tansongyang commented 8 years ago

@martineno The pull request you linked to has been closed. Did it resolve your issue?