Skip to content
Snippets Groups Projects
Verified Commit 6e7b37c4 authored by Philipp S. Sommer's avatar Philipp S. Sommer
Browse files

add kwargs to connect_module

parent 6f7fbfce
No related branches found
No related tags found
No related merge requests found
Pipeline #360763 passed
......@@ -118,11 +118,11 @@ def connect_module(
"""Get a factory that connects DASF backend module scripts"""
processes: List[spr.Popen] = []
def connect(topic: str, path_or_mod: str) -> spr.Popen:
def connect(topic: str, path_or_mod: str, **kwargs) -> spr.Popen:
"""Connect a script to the live_server"""
command = get_module_command(topic, path_or_mod)
try:
process = spr.Popen(command + ["listen"])
process = spr.Popen(command + ["listen"], **kwargs)
except Exception:
raise
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment