--- src/__init__.py.orig 2017-11-27 07:22:09.000000000 -0600
+++ src/__init__.py 2017-11-27 07:22:28.000000000 -0600
__author__ = "phpsh@googlegroups.com"
-__date__ = "Nov 20, 2008"
+__date__ = "May 14, 2014"
from subprocess import Popen, PIPE, call
from threading import Thread
def check_syntax(self, line):
- p = Popen(["php", "-r", "return;" + line], stdout=PIPE, stderr=PIPE)
+ p = Popen(["@@PHP_EXECUTABLE@@", "-r", "return;" + line], stdout=PIPE, stderr=PIPE)
# "php -r" lint errors seem to only use stdout, but it might (idk)
# depend on configuration or change later, so just grab everything.
self.xdebug_path = xdebug
- self.comm_base = ["php"]
+ self.comm_base = ["@@PHP_EXECUTABLE@@"]
xdebug_comm_base = self.comm_base[:]