about summary refs log tree commit diff
path: root/gn3/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/commands.py')
-rw-r--r--gn3/commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/commands.py b/gn3/commands.py
index f55f3c4..71a4d27 100644
--- a/gn3/commands.py
+++ b/gn3/commands.py
@@ -180,7 +180,8 @@ def run_async_cmd(
     """A utility function to call `gn3.commands.queue_cmd` function and run the
     worker in the `one-shot` mode."""
     cmd_id = queue_cmd(conn, job_queue, cmd, email, env)
-    subprocess.Popen([f"{sys.executable}", "-m", "sheepdog.worker"]) # pylint: disable=[consider-using-with]
+    subprocess.Popen( # pylint: disable=[consider-using-with]
+        [sys.executable, "-m", "sheepdog.worker", "--queue-name", job_queue])
     return cmd_id