Skip to content

Commit

Permalink
Escape backwards slash (#1902)
Browse files Browse the repository at this point in the history
  • Loading branch information
inakineitor authored Nov 3, 2024
1 parent 0abbf28 commit 1363b51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/sglang/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down Expand Up @@ -354,4 +354,4 @@ def terminate_process(process):

def print_highlight(html_content: str):
html_content = str(html_content).replace("\n", "<br>")
display(HTML(f"<strong style='color: #00008B;'>{html_content}</strong>"))
display(HTML(f"<strong style='color: #00008B;'>{html_content}</strong>"))

0 comments on commit 1363b51

Please sign in to comment.