initial commit
This commit is contained in:
9
src/aria.py
Normal file
9
src/aria.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
def launch_aria2c():
|
||||
subprocess.Popen(["aria2c", "--enable-rpc", "--rpc-listen-all"])
|
||||
|
||||
|
||||
def kill_aria2c():
|
||||
subprocess.Popen(["killall", "aria2c"])
|
||||
Reference in New Issue
Block a user