mirror of
https://github.com/kristoferssolo/School.git
synced 2025-10-21 20:10:38 +00:00
18 lines
345 B
Python
18 lines
345 B
Python
import platform
|
|
import subprocess as sps
|
|
import sys
|
|
|
|
name = 'Edge'
|
|
|
|
|
|
def run(_path, options, start_urls):
|
|
cmd = 'start microsoft-edge:{}'.format(start_urls[0])
|
|
sps.Popen(cmd, stdout=sys.stdout, stderr=sys.stderr, stdin=sps.PIPE, shell=True)
|
|
|
|
|
|
def find_path():
|
|
if platform.system() == 'Windows':
|
|
return True
|
|
|
|
return False
|