Commit 933d0100 authored by JinyuanSun's avatar JinyuanSun
Browse files

update pkg

parent cf0dc076
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -16,10 +16,11 @@ class PymolServer():
        """
        """
        # Start PyMOL as a subprocess
        # Start PyMOL as a subprocess
        self.pymol_process = subprocess.Popen(
        self.pymol_process = subprocess.Popen(
            [pymol_path, "-R"],
            "pymol -R",
            stdout=subprocess.PIPE,
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE,
            stderr=subprocess.PIPE,
            text=True,
            text=True,
            shell=True,
            bufsize=1,  # Line-buffered
            bufsize=1,  # Line-buffered
            universal_newlines=True
            universal_newlines=True
        )
        )