Skip to content

Commit

Permalink
路径中包含空格
Browse files Browse the repository at this point in the history
解决路径中不能包含空格的bug
  • Loading branch information
answer-huang committed May 14, 2015
1 parent 7136df9 commit bcae6ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dSYM.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def EvtRadioBox(self, event):

def startCalc(self, event):
if self.memAddress.GetValue():
comString = 'xcrun atos -arch ' + self.selectedArchiveType + ' -o ' + str(self.appFilePath) + ' -l ' + self.slideAddress.GetValue() + ' ' + self.memAddress.GetValue()
comString = 'xcrun atos -arch ' + self.selectedArchiveType + ' -o "' + str(self.appFilePath) + '" -l ' + self.slideAddress.GetValue() + ' ' + self.memAddress.GetValue()
tmp = os.popen(comString).readlines()
self.maybeReasonContent.SetValue(tmp[0])

Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#coding=utf-8

#打包命令 : python setup.py py2app

__author__ = 'answer-huang'

import sys
Expand Down

0 comments on commit bcae6ea

Please sign in to comment.