diff options
| author | alex <alex@pdp7.net> | 2023-10-17 20:29:50 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-10-17 20:30:14 +0200 |
| commit | efed7707c9f9a18425239ce91405132ebd8ace01 (patch) | |
| tree | 3d58a975ace957754afe7c2235bf18f595d92cca /scripts/p7s | |
| parent | 32cd86df7cd8619ef0f957860f0312080aab2a91 (diff) | |
Replace ruscreen with Python pipx-installable script
Diffstat (limited to 'scripts/p7s')
| -rw-r--r-- | scripts/p7s/__init__.py | 0 | ||||
| -rw-r--r-- | scripts/p7s/__pycache__/__init__.cpython-39.pyc | bin | 0 -> 138 bytes | |||
| -rw-r--r-- | scripts/p7s/__pycache__/ruscreen.cpython-39.pyc | bin | 0 -> 368 bytes | |||
| -rw-r--r-- | scripts/p7s/ruscreen.py | 6 |
4 files changed, 6 insertions, 0 deletions
diff --git a/scripts/p7s/__init__.py b/scripts/p7s/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/scripts/p7s/__init__.py diff --git a/scripts/p7s/__pycache__/__init__.cpython-39.pyc b/scripts/p7s/__pycache__/__init__.cpython-39.pyc Binary files differnew file mode 100644 index 00000000..483c7b9c --- /dev/null +++ b/scripts/p7s/__pycache__/__init__.cpython-39.pyc diff --git a/scripts/p7s/__pycache__/ruscreen.cpython-39.pyc b/scripts/p7s/__pycache__/ruscreen.cpython-39.pyc Binary files differnew file mode 100644 index 00000000..54485b11 --- /dev/null +++ b/scripts/p7s/__pycache__/ruscreen.cpython-39.pyc diff --git a/scripts/p7s/ruscreen.py b/scripts/p7s/ruscreen.py new file mode 100644 index 00000000..d12dc2f5 --- /dev/null +++ b/scripts/p7s/ruscreen.py @@ -0,0 +1,6 @@ +import os +import sys + + +def main(): + os.execvp("autossh", ["autossh", "-M", "0", "-t"] + sys.argv[1:] + ["screen -RdU"]) |
