mirror of https://git.48k.eu/ogclient
Handle scripts that end in \r
parent
bf69d20966
commit
bb9ec5d7a5
|
@ -55,7 +55,7 @@ def reboot():
|
|||
|
||||
def execCMD(request, ogRest):
|
||||
cmd = request.getrun()
|
||||
cmds = cmd.split(";|\n")
|
||||
cmds = cmd.split(";|\n\r")
|
||||
try:
|
||||
ogRest.proc = subprocess.Popen(cmds,
|
||||
stdout=subprocess.PIPE,
|
||||
|
|
Loading…
Reference in New Issue