mt5-manager/docs/articles/part-05/publish/code/14_python.txt
Yuriy Bykov Yuriy Bykov 65b0b3d7ec Update part five article for completed terminal management features
Describe simplified setup, optional server catalogs, independent connection tests, safe instance deletion, and per-terminal operation notifications.

Add reproducible publication builders, refresh the source archive and listings, and record the remaining website and screenshot update steps.
2026-11-01 22:40:20 +03:00
def launch(self, folder, config=None):
args = [self.control.instance_path(folder), '/portable']
if config:
# Кавычки окружают значение ключа, а не весь аргумент.
command = subprocess.list2cmdline(args) + f' /config:"{config}"'
return subprocess.Popen(command, cwd=str(Path(args[0]).parent))
return subprocess.Popen(args, cwd=str(Path(args[0]).parent))