404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@13.59.69.109: ~ $
import subprocess
import sys


def get_helptext(program):
    cmd = [program, "-help"]

    # py3.7+
    # p = subprocess.run(cmd, capture_output=True)
    # stderr = p.stderr

    # py3.6 also
    p = subprocess.Popen(
        cmd,
        stdout=subprocess.PIPE,
        stderr=subprocess.PIPE,
        shell=False,
    )
    _, stderr = p.communicate()

    helptext = stderr.decode("utf-8", "ignore")
    return helptext


def platform_is_osx():
    return sys.platform == "darwin"

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
examples Folder 0755
__init__.py File 241 B 0644
about.py File 20 B 0644
abstractdisplay.py File 12.29 KB 0644
display.py File 3.18 KB 0644
py.typed File 0 B 0644
smartdisplay.py File 2.6 KB 0644
util.py File 486 B 0644
xauth.py File 1.14 KB 0644
xephyr.py File 1.6 KB 0644
xvfb.py File 1.9 KB 0644
xvnc.py File 1.87 KB 0644