derivato da antekov/mt5-manager
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.
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))
|