Skip to content

Commit 9cefd65

Browse files
committed
update scenarios active to trim scenario name
1 parent d3f473e commit 9cefd65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/warnet/server.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,11 @@ def _start_scenario(
354354
t = threading.Thread(target=lambda: self.scenario_log(proc))
355355
t.daemon = True
356356
t.start()
357+
cmd = f"{scenario_name} {' '.join(additional_args)}".strip()
357358
self.running_scenarios.append(
358359
{
359360
"pid": proc.pid,
360-
"cmd": f"{scenario_name} {' '.join(additional_args)}",
361+
"cmd": cmd,
361362
"proc": proc,
362363
"network": network,
363364
}

0 commit comments

Comments
 (0)