From 1363b51983415a5180fd3981e676a6b20ea77ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Arango?= Date: Sun, 3 Nov 2024 12:27:11 -0800 Subject: [PATCH] Escape backwards slash (#1902) --- python/sglang/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/sglang/utils.py b/python/sglang/utils.py index ef4713bd2..9c1fc6795 100644 --- a/python/sglang/utils.py +++ b/python/sglang/utils.py @@ -305,7 +305,7 @@ def execute_shell_command(command: str) -> subprocess.Popen: Execute a shell command and return the process handle Args: - command: Shell command as a string (can include \ line continuations) + command: Shell command as a string (can include \\ line continuations) Returns: subprocess.Popen: Process handle """ @@ -354,4 +354,4 @@ def terminate_process(process): def print_highlight(html_content: str): html_content = str(html_content).replace("\n", "
") - display(HTML(f"{html_content}")) \ No newline at end of file + display(HTML(f"{html_content}"))