Skip to content
Snippets Groups Projects
Commit 6e96b0ff authored by Simon Rose's avatar Simon Rose
Browse files

Merge branch 'stty_super_sane' into 'master'

E3-1465: Fix stty sane

See merge request !163
parents a66a5bc3 97f20e19
No related branches found
No related tags found
1 merge request!163E3-1465: Fix stty sane
Pipeline #177112 failed
...@@ -12,7 +12,7 @@ from pathlib import Path ...@@ -12,7 +12,7 @@ from pathlib import Path
@atexit.register @atexit.register
def graceful_shutdown() -> None: def graceful_shutdown() -> None:
print("\nExiting e3 IOC shell") print("\nExiting e3 IOC shell")
os.system("[[ $- == *i* ]] && stty sane") os.system("[[ -t 1 ]] && stty sane")
class TemporaryStartupScript: class TemporaryStartupScript:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment