https://github.com/tannerdsilva/SwiftSlash
Concurrent shell scripting framework with deep support for async/await.
https://github.com/tannerdsilva/SwiftSlash
async async-await await cli concurrency linux macos script shell swift swift-library
Last synced: 3 months ago
JSON representation
Concurrent shell scripting framework with deep support for async/await.
- Host: GitHub
- URL: https://github.com/tannerdsilva/SwiftSlash
- Owner: tannerdsilva
- License: mit
- Created: 2020-08-08T17:39:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T01:58:45.000Z (12 months ago)
- Last Synced: 2024-10-24T18:10:35.728Z (12 months ago)
- Topics: async, async-await, await, cli, concurrency, linux, macos, script, shell, swift, swift-library
- Language: Swift
- Homepage: https://swiftslash.com/documentation
- Size: 496 KB
- Stars: 60
- Watchers: 5
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftSlash 🚀
[](https://swiftpackageindex.com/tannerdsilva/SwiftSlash) [](https://swiftpackageindex.com/tannerdsilva/SwiftSlash)
> **Dependency-free, high-performance concurrent shell framework for Swift 6.0+**
SwiftSlash 4.0 is a pure-Swift library (zero external dependencies) designed for rock-solid reliability and speed. Its internal engine ensures:
* 🔒 **Memory Safety**: Automatic cleanup of file descriptors and subprocesses guarantees no memory leaks or zombie processes.
* ⚡ **Blazing Performance**: Fast process startup, I/O streaming, and internal scheduling without per-process event loops.
* 🔄 **True Concurrency**: Run hundreds or thousands of shell commands in parallel, leveraging Swift’s async/await for minimal overhead.
* 🛡 **Secure Execution**: Isolated handles and controlled working-directory management ensure a hardened runtime.
* 📦 **Type-Safe API**: Leveraging Swift 6.0/6.1’s advanced type system for compile-time correctness and clear intent.## 📚 Documentation
Full DocC documentation is available at [swiftslash.com/documentation](https://swiftslash.com/documentation/).
## 🤝 Contributing
We welcome bug reports, feature requests, and pull requests.
## 📄 License
SwiftSlash is released under the MIT License. See [LICENSE](LICENSE) for details.
## 📬 Contact
Stay up to date or ask questions on Twitter: [@tannerdsilva](https://twitter.com/tannerdsilva)