diff -r fe7c5e8b20bb -r 5744391252ec svghmi/svghmi.py --- a/svghmi/svghmi.py Sat May 25 16:45:38 2024 +0200 +++ b/svghmi/svghmi.py Wed Jun 05 15:05:54 2024 +0200 @@ -643,10 +643,11 @@ svghmi_cmds = {} for thing in ["Start", "Stop", "Watchdog"]: given_command = self.GetParamsAttributes("SVGHMI.On"+thing)["value"] + args = shlex.split(given_command.format(**svghmi_options)) svghmi_cmds[thing] = ( "Popen(" + - repr(shlex.split(given_command.format(**svghmi_options))) + - ")") if given_command else "None # no command given" + repr(args) + + ")") if args else "None # no command given" runtimefile_path = os.path.join(buildpath, "runtime_%s_svghmi_.py" % location_str) runtimefile = open(runtimefile_path, 'w')