Escape backwards slash (#1902)
This commit is contained in:
@@ -305,7 +305,7 @@ def execute_shell_command(command: str) -> subprocess.Popen:
|
|||||||
Execute a shell command and return the process handle
|
Execute a shell command and return the process handle
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
command: Shell command as a string (can include \ line continuations)
|
command: Shell command as a string (can include \\ line continuations)
|
||||||
Returns:
|
Returns:
|
||||||
subprocess.Popen: Process handle
|
subprocess.Popen: Process handle
|
||||||
"""
|
"""
|
||||||
@@ -354,4 +354,4 @@ def terminate_process(process):
|
|||||||
|
|
||||||
def print_highlight(html_content: str):
|
def print_highlight(html_content: str):
|
||||||
html_content = str(html_content).replace("\n", "<br>")
|
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>"))
|
||||||
|
|||||||
Reference in New Issue
Block a user