Update index.py

pull/109/head
midoks 3 years ago
parent 4c514f46ee
commit 9c1b7e4ed4
  1. 4
      plugins/mysql/index.py

@ -378,8 +378,8 @@ def my8cmd(version, method):
if method == "stop":
mw.execShell(cmd)
return "ok"
subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True,
bufsize=4096, stderr=subprocess.PIPE)
subprocess.run(cmd, stdout=subprocess.PIPE, shell=True,
bufsize=4096, stderr=subprocess.PIPE)
return 'ok'
except Exception as e:
print(e)

Loading…
Cancel
Save