# pty-closure-rs [![Audit workflow badge](https://img.shields.io/github/workflow/status/Shadow53/pty-closure-rs/Security%20audit/main?label=audit)](https://github.com/Shadow53/pty-closure-rs/actions/workflows/audit.yml) [![Checks workflow badge](https://img.shields.io/github/workflow/status/Shadow53/pty-closure-rs/Checks/main?label=checks)](https://github.com/Shadow53/pty-closure-rs/actions/workflows/check.yml) [![Clippy workflow badge](https://img.shields.io/github/workflow/status/Shadow53/pty-closure-rs/Clippy/main?label=clippy)](https://github.com/Shadow53/pty-closure-rs/actions/workflows/clippy.yml) [![Codecov coverage badge](https://img.shields.io/codecov/c/github/Shadow53/pty-closure-rs)](https://app.codecov.io/gh/Shadow53/pty-closure-rs) [![Crates.io license badge](https://img.shields.io/crates/l/pty_closure)](https://crates.io/crates/pty_closure) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FShadow53%2Fpty-closure-rs.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FShadow53%2Fpty-closure-rs?ref=badge_shield) Run a closure (or function) in a pseudoterminal. **This crate only supports macOS, Linux, and BSD targets -- not Windows.** See [docs.rs](https://docs.rs/pty_closure) for documentation.