mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-05 17:07:49 +00:00
chrome: python3
This commit is contained in:
parent
fda51589ca
commit
eb8225aba3
@ -47,8 +47,8 @@ def startchrome(args):
|
|||||||
chrome_params = args + ' ' + \
|
chrome_params = args + ' ' + \
|
||||||
__addon__.getSetting('HOMEPAGE')
|
__addon__.getSetting('HOMEPAGE')
|
||||||
subprocess.call(__path__ + 'chrome-start ' + chrome_params, shell=True, env=new_env)
|
subprocess.call(__path__ + 'chrome-start ' + chrome_params, shell=True, env=new_env)
|
||||||
except Exception, e:
|
except Exception as e:
|
||||||
oe.dbg_log('chrome', unicode(e))
|
oe.dbg_log('chrome', e)
|
||||||
|
|
||||||
def isRuning(pname):
|
def isRuning(pname):
|
||||||
tmp = os.popen("ps -Af").read()
|
tmp = os.popen("ps -Af").read()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user