代码: 全选
def doDown(self, widget, data):
url = 'http://xxx.xxx.xxx/1.zip'
cmd = 'wget "'+url+'"';
commands.getoutput (cmd)
必须等到下载完毕窗口才会有反应
有方法可以实现在后台运行吗?
谢谢
代码: 全选
def doDown(self, widget, data):
url = 'http://xxx.xxx.xxx/1.zip'
cmd = 'wget "'+url+'"';
commands.getoutput (cmd)