Skip to content
Snippets Groups Projects
Commit da4f76c1 authored by CG Linden's avatar CG Linden
Browse files

Set PATH to devenv.com to avoid problem with develop.py's use of os.system()

parent f1739921
No related branches found
No related tags found
No related merge requests found
...@@ -576,8 +576,10 @@ def get_build_cmd(self): ...@@ -576,8 +576,10 @@ def get_build_cmd(self):
return "buildconsole %s.sln /build %s" % (self.project_name, config) return "buildconsole %s.sln /build %s" % (self.project_name, config)
# devenv.com is CLI friendly, devenv.exe... not so much. # devenv.com is CLI friendly, devenv.exe... not so much.
return ('"%sdevenv.com" %s.sln /build %s' % #return ('"%sdevenv.com" %s.sln /build %s' %
(self.find_visual_studio(), self.project_name, self.build_type)) # (self.find_visual_studio(), self.project_name, self.build_type))
return ('devenv.com %s.sln /build %s' %
(self.project_name, self.build_type))
def run(self, command, name=None, retry_on=None, retries=1): def run(self, command, name=None, retry_on=None, retries=1):
'''Run a program. If the program fails, raise an exception.''' '''Run a program. If the program fails, raise an exception.'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment