We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
on Windows your plugin pops console windows while working, and this is standard workaround:
--- sublime_jedi.bak +++ sublime_jedi.py @@ -25,8 +25,14 @@ def get_sys_path(python_interpreter): :return: list """ - command = [python_interpreter, '-c', "import sys; print sys.path"] - process = subprocess.Popen(command, shell=False, stdout=subprocess.PIPE) + command = [python_interpreter, '-c', "import sys; print(sys.path)"] + if sys.platform == "win32": + startupinfo = subprocess.STARTUPINFO() + startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW + process = subprocess.Popen(command, shell=False, stdout=subprocess.PIPE, + startupinfo=startupinfo) + else: + process = subprocess.Popen(command, shell=False, stdout=subprocess.PIPE) out = process.communicate()[0] sys_path = json.loads(out.replace("'", '"')) return sys_path
The text was updated successfully, but these errors were encountered:
Hi. Can the fix waits until #16 be done?
Sorry, something went wrong.
Sure, whenever. As this patch just adds one additional flag for win32 subprocess calls, you can easily apply it when you find it appropriate.
Cheers
issue #17
fd7858a
No branches or pull requests
Hi,
on Windows your plugin pops console windows while working, and this is standard workaround:
The text was updated successfully, but these errors were encountered: