Replace to Popen
This commit is contained in:
parent
491fb4d746
commit
d04f83b601
2 changed files with 4 additions and 4 deletions
|
@ -1273,12 +1273,12 @@ class Main(Quick):
|
|||
# DO: Run Calamares Installer
|
||||
def install_(self):
|
||||
self.close()
|
||||
subprocess.run('sudo sh /etc/calamares/launch.sh',shell=True)
|
||||
subprocess.Popen('sudo sh /etc/calamares/launch.sh',shell=True)
|
||||
|
||||
# DO: Loading link in `xdg-open` function
|
||||
def link(self,url):
|
||||
self.close()
|
||||
subprocess.run(f'xdg-open {url}',shell=True)
|
||||
subprocess.Popen(f'xdg-open {url}',shell=True)
|
||||
|
||||
# DO: Init Function
|
||||
def __init__(self):
|
||||
|
|
|
@ -72,12 +72,12 @@ class Main(Quick):
|
|||
# DO: Run Calamares Installer
|
||||
def install_(self):
|
||||
self.close()
|
||||
subprocess.run('sudo sh /etc/calamares/launch.sh',shell=True)
|
||||
subprocess.Popen('sudo sh /etc/calamares/launch.sh',shell=True)
|
||||
|
||||
# DO: Loading link in `xdg-open` function
|
||||
def link(self,url):
|
||||
self.close()
|
||||
subprocess.run(f'xdg-open {url}',shell=True)
|
||||
subprocess.Popen(f'xdg-open {url}',shell=True)
|
||||
|
||||
# DO: Init Function
|
||||
def __init__(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue