From: duplo Date: Tue, 8 Sep 2009 08:07:40 +0000 (+0000) Subject: Close the Wizard after launching CodeLite. X-Git-Tag: 2.2.0~75 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=d6134e332db05f7591dd8f0c2d05c95425def2b1;p=bertos.git Close the Wizard after launching CodeLite. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2893 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/bertos.py b/wizard/bertos.py index a5610a75..57dbe8af 100755 --- a/wizard/bertos.py +++ b/wizard/bertos.py @@ -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):