Unverified Commit 1363b519 authored by Iñaki Arango's avatar Iñaki Arango Committed by GitHub
Browse files

Escape backwards slash (#1902)

parent 0abbf289
...@@ -305,7 +305,7 @@ def execute_shell_command(command: str) -> subprocess.Popen: ...@@ -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): ...@@ -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>"))
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment