Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix path issue.

  • Loading branch information...
commit 8d9f849a2c530fcde4bd32d4cef50a908444efcb 1 parent c4f41a1
@fbzhong authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  asyncprocess.py
  2. +1 −1  gjslint.py
View
2  asyncprocess.py
@@ -10,7 +10,7 @@ def __init__(self, cmd, listener):
self.cmd = cmd
self.listener = listener
#print "DEBUG_EXEC: " + str(self.cmd)
- self.proc = subprocess.Popen([self.cmd], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ self.proc = subprocess.Popen(self.cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if self.proc.stdout:
thread.start_new_thread(self.read_stdout, ())
View
2  gjslint.py
@@ -31,7 +31,7 @@ def run(self):
self.init_tests_panel()
- cmd = s.get('gjslint_path', 'jslint') + ' ' + s.get('gjslint_flags', '') + ' "' + file_path + '"'
+ cmd = '"' + s.get('gjslint_path', 'jslint') + '" ' + s.get('gjslint_flags', '') + ' "' + file_path + '"'
if self.debug:
print "DEBUG: " + str(cmd)
Please sign in to comment.
Something went wrong with that request. Please try again.