Permalink
Browse files

fix path issue.

  • Loading branch information...
1 parent c4f41a1 commit 8d9f849a2c530fcde4bd32d4cef50a908444efcb @fbzhong committed Dec 16, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 asyncprocess.py
  2. +1 −1 gjslint.py
View
@@ -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
@@ -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)

0 comments on commit 8d9f849

Please sign in to comment.