Escape backwards slash (#1902)

This commit is contained in:
Iñaki Arango
2024-11-03 12:27:11 -08:00
committed by GitHub
parent 0abbf289a8
commit 1363b51983

View File

@@ -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", "<br>")
display(HTML(f"<strong style='color: #00008B;'>{html_content}</strong>"))
display(HTML(f"<strong style='color: #00008B;'>{html_content}</strong>"))