()
| 1089 | """Clear an interactive terminal without spawning a shell process.""" |
| 1090 | try: |
| 1091 | sys.stdout.write("\033[2J\033[H") |
| 1092 | sys.stdout.flush() |
| 1093 | except Exception: |
| 1094 | pass |
| 1095 | |
| 1096 | def _command_argv(command): |
| 1097 | if isinstance(command, (list, tuple)): |
| 1098 | return [str(item) for item in command] |
no outgoing calls
no test coverage detected