Commit 1f7c9398 authored by Deathcrow's avatar Deathcrow

clean slate before starting utility (killall)

parent dcaa49cf
......@@ -213,6 +213,9 @@ os.mkdir(args.tmp_folder)
parse_senders( flat_sender_args, sender)
#clean slate
subprocess.Popen(["killall", "-s", "9", args.utility])
if args.cpunetlog != "":
args.cpunetlog = os.path.abspath(args.cpunetlog)
cpunetlog = subprocess.Popen(["python3", args.cpunetlog+"/__init__.py", "-l", "-d", "--path", args.tmp_folder+"/cpunetlog"]) #run cpunetlog in headless mode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment