10 lines
175 B
Python
10 lines
175 B
Python
import subprocess
|
|
|
|
|
|
def launch_aria2c():
|
|
subprocess.Popen(["aria2c", "--enable-rpc", "--rpc-listen-all"])
|
|
|
|
|
|
def kill_aria2c():
|
|
subprocess.Popen(["killall", "aria2c"])
|