Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions python_a2a/agent_flow/utils/agent_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"""

import os
import shlex
import time
import json
import logging
Expand Down Expand Up @@ -194,8 +195,8 @@ def start_agent_server(

# Start the server process
process = subprocess.Popen(
command,
shell=True,
shlex.split(command) if isinstance(command, str) else command,
shell=False,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
universal_newlines=True
Expand Down