From 3eb992b89c5a8f397bd4b7eb5c78edb0f036d430 Mon Sep 17 00:00:00 2001 From: Lucas Marshall Date: Wed, 22 Jan 2014 12:10:40 -0800 Subject: [PATCH] Expand environment variables in the python_interpreter_path setting --- checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checker.py b/checker.py index 3987b94..319fb3c 100644 --- a/checker.py +++ b/checker.py @@ -70,7 +70,7 @@ def get_external(source, filename, executable): tf.write(source.encode('utf-8')) tf.close() try: - output = subprocess.check_output([executable, + output = subprocess.check_output([os.path.expandvars(executable), os.path.dirname(__file__), tf.name, filename]) finally: