running-process
Advanced tools
+1
-1
| Metadata-Version: 2.4 | ||
| Name: running_process | ||
| Version: 1.0.5 | ||
| Version: 1.0.6 | ||
| Summary: A modern subprocess.Popen wrapper with improved process management | ||
@@ -5,0 +5,0 @@ Project-URL: Homepage, https://github.com/yourusername/running-process |
+5
-5
@@ -8,9 +8,9 @@ running_process/__init__.py,sha256=0SbyaLazVhgiWX4w6n21kMj2gMIVYSBtTxEARfEy3ow,690 | ||
| running_process/pty.py,sha256=KfRutEF4dZyLRc4h0Wvl7nRbiM3zqHuibX4MaV7SEYY,8147 | ||
| running_process/running_process.py,sha256=MNm0JZGHZFFnXz1VsIVCZMwT6pTJHBBN0Wd5Twep0as,40351 | ||
| running_process/running_process.py,sha256=I1cqqZF4aE-1dMAka0378lsteOzFcltDikGeWj0OICk,40637 | ||
| running_process/running_process_manager.py,sha256=xx_kmXw9j-hjOI_pRrlTKdc9yekKBVQHhUq1eDpBGJU,2467 | ||
| running_process/subprocess_runner.py,sha256=O_Wwe2vrXWnYkiNEpauNLre3PqNO3uDogrRz0JCkH7M,3223 | ||
| running_process/assets/example.txt,sha256=lTBovRjiz0_TgtAtbA1C5hNi2ffbqnNPqkKg6UiKCT8,54 | ||
| running_process-1.0.5.dist-info/METADATA,sha256=286iYvPEwWgLWadzj3eJE0-MksScgzKXGz7V-DcKT5A,8465 | ||
| running_process-1.0.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87 | ||
| running_process-1.0.5.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064 | ||
| running_process-1.0.5.dist-info/RECORD,, | ||
| running_process-1.0.6.dist-info/METADATA,sha256=XQ-Kc4wqKF-ltPpXANXhW-aer1sNXQdEz4nPJgZ4uig,8465 | ||
| running_process-1.0.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87 | ||
| running_process-1.0.6.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064 | ||
| running_process-1.0.6.dist-info/RECORD,, |
@@ -218,2 +218,3 @@ """Enhanced subprocess execution with timeout protection, output streaming, and process tree management. | ||
| use_pty: bool = False, # Use pseudo-terminal for process execution | ||
| env: dict[str, str] | None = None, # Environment variables for the process | ||
| ) -> None: | ||
@@ -236,2 +237,3 @@ """ | ||
| use_pty: If True, use pseudo-terminal for process execution (supports interactive commands). | ||
| env: Environment variables for the process. If None, uses os.environ.copy(). | ||
| """ | ||
@@ -274,2 +276,3 @@ # Validate command/shell combination | ||
| self.output_formatter = output_formatter if output_formatter is not None else NullOutputFormatter() | ||
| self.env = env | ||
| self.reader_thread: threading.Thread | None = None | ||
@@ -401,3 +404,3 @@ self.watcher_thread: threading.Thread | None = None | ||
| # when output is piped to another process (prevents multi-second delays) | ||
| env = os.environ.copy() | ||
| env = self.env.copy() if self.env is not None else os.environ.copy() | ||
| env["PYTHONUNBUFFERED"] = "1" | ||
@@ -422,3 +425,3 @@ | ||
| # Force unbuffered output for Python subprocesses | ||
| env = os.environ.copy() | ||
| env = self.env.copy() if self.env is not None else os.environ.copy() | ||
| env["PYTHONUNBUFFERED"] = "1" | ||
@@ -425,0 +428,0 @@ |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.