INNER CODE UNIT · Python

__init__

HaxL0p4/L0p4Map · ui/app.py:103

    def __init__(self, cmd: list):
        super().__init__()
        self.cmd = cmd

    def run(self):
        process = subprocess.Popen(
            self.cmd,
            stdout=subprocess.PIPE,
            stderr=subprocess.STDOUT,
            text=True
        )
        for riga in process.stdout:
            self.output.emit(riga.rstrip())
        process.wait()
        self.finished.emit()


class ScanWorker(QThread):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…