Skip to content

MyShell: Cross-Platform Shell Interaction Library

Choose a tag to compare

@nthnn nthnn released this 07 Dec 08:17
· 4 commits to main since this release

Build CI for Linux Build CI for MacOS Build CI for Windows

MyShell is a modern C++ library that provides a robust, cross-platform interface for shell process interaction. It allows seamless execution and interaction with shell commands across Windows, Linux, and macOS operating systems.

  • Cross-Platform Compatibility: Works consistently across Windows, Linux, and macOS
  • Bidirectional Communication: Full support for stdin, stdout, and stderr streams
  • Real-time Output Processing: Non-blocking I/O with efficient output buffering
  • Process Management: Monitor process status and retrieve exit codes
  • Resource Safety: RAII-compliant with automatic resource cleanup
  • Thread Safety: Thread-safe output handling with mutex protection
  • Error Handling: Comprehensive error reporting using C++ exceptions

Full Changelog: https://github.com/nthnn/MyShell/commits/v1.0