Swiftpack.co - CharlesJS/PTYProcess as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by CharlesJS.
CharlesJS/PTYProcess 0.1.0
A wrapper around launching an external tool, like NSTask, that can wrap stdout, stderr, or both in a pseudo-TTY. Uses Swift Concurrency. Does not require Foundation.
⭐️ 0
🕓 1 week ago
iOS macOS watchOS tvOS macCatalyst
.package(url: "https://github.com/CharlesJS/PTYProcess.git", from: "0.1.0")

PTYProcess

A replacement for Process/NSTask that can automatically wrap standard output, standard error, or both in a pseudo-TTY.

Lets you use Swift Concurrency to wait for processes to exit without blocking a thread. Does not require Foundation.

GitHub

link
Stars: 0
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics