llama-stack-mirror/.github
Sébastien Han 239e4aad80
refactor: simplify command execution and remove PTY handling
A PTY is unnecessary for interactive mode since `subprocess.run()`
already inherits the calling terminal’s stdin, stdout, and stderr,
allowing natural interaction. Using a PTY can introduce unwanted
side effects like buffering issues and inconsistent signal
handling. Standard input/output is sufficient for most
interactive programs.

This commit simplifies the command execution by:

1. Removing PTY-based execution in favor of direct subprocess handling
2. Consolidating command execution into a single run_command function
3. Improving error handling with specific subprocess error types
4. Adding proper type hints and documentation
5. Maintaining Ctrl+C handling for graceful interruption

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-03-14 17:52:38 +01:00
..
ISSUE_TEMPLATE github: issue templates automatically apply relevant label (#956) 2025-02-04 14:44:03 -08:00
workflows refactor: simplify command execution and remove PTY handling 2025-03-14 17:52:38 +01:00
CODEOWNERS chore: Update CODEOWNERS (#1407) 2025-03-04 21:48:24 -08:00
dependabot.yml ci: enable Dependabot for GitHub Actions (#1470) 2025-03-07 12:54:56 -08:00
PULL_REQUEST_TEMPLATE.md docs: remove changelog mention from PR template (#1049) 2025-02-11 13:24:53 -05:00