{"id":24547,"library":"running-process","title":"running-process","description":"A Rust-backed subprocess wrapper providing split stdout/stderr streaming with real-time output capture. Current version 3.1.0 requires Python >=3.10. Released under MIT license, maintained by zackees.","status":"active","version":"3.1.0","language":"python","source_language":"en","source_url":"https://github.com/zackees/running-process","tags":["subprocess","streaming","rust","python","wrapper"],"install":[{"cmd":"pip install running-process","lang":"bash","label":"Default install"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"RunningProcess","correct":"from running_process import RunningProcess"}],"quickstart":{"code":"from running_process import RunningProcess\n\nproc = RunningProcess(['echo', 'hello'])\nstdout, stderr = proc.run()\nprint(stdout.strip())","lang":"python","description":"Run a simple command and capture stdout/stderr."},"warnings":[{"fix":"Upgrade to >=3.0.0 and ensure you access stdout/stderr as returned tuple.","message":"Version 2.x broke compatibility: the `run()` method changed from returning a tuple to an object; use `.run()` with explicit capture.","severity":"breaking","affected_versions":"< 3.0.0"},{"fix":"Use `start()` and iterate over `stdout_lines()` for streaming.","message":"The `run()` method blocks until process finishes; do not use with long-running processes if you need real-time output.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure you are on a supported platform (Linux x86_64, macOS x86_64/arm64, Windows x86_64).","message":"Running on non-POSIX or unsupported platforms may raise ImportError because of Rust binary dependency.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use `from running_process import RunningProcess` and ensure you have installed version >=3.0.0.","cause":"The package is installed but the import path is wrong or the package version is too old.","error":"ImportError: cannot import name 'RunningProcess' from 'running_process'"},{"fix":"Upgrade to version >=3.0.0: `pip install --upgrade running-process`.","cause":"The class does not have a `run` method in older versions.","error":"AttributeError: 'RunningProcess' object has no attribute 'run'"},{"fix":"Add an exception for the running-process binary in your antivirus or run as administrator.","cause":"Windows antivirus or permission issue blocking the Rust binary.","error":"OSError: [WinError 1920] The file cannot be accessed by the system"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}