Close the Wizard after launching CodeLite.
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 8 Sep 2009 08:07:40 +0000 (08:07 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 8 Sep 2009 08:07:40 +0000 (08:07 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2893 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/bertos.py

index a5610a75b6e74f919ea9618a89780bf5e2a52112..57dbe8af3ba1503bc8cad068efc7c84fc8b8686b 100755 (executable)
@@ -72,8 +72,7 @@ def newProject():
         for ide in to_be_opened:
             command_line = command_lines[ide]
             relevant_file = relevant_files[ide]
-            import subprocess
-            subprocess.call(command_line + " \"" + relevant_file + "\"")
+            QProcess.startDetached(command_line, [relevant_file,])
     sys.exit()
     
 def editProject(project_file):