CliWrap is a .NET library that provides a high-level, fluent interface for launching and managing external command-line processes in a safe and asynchronous manner. It abstracts the complexity of the native process APIs by offering a composable model for configuring commands, arguments, working directories, and stream redirection. The library emphasizes reliability and developer ergonomics, including built-in support for piping, cancellation handling, and deadlock avoidance. CliWrap is fully asynchronous and designed with immutability principles, making it well suited for modern concurrent applications. It also includes flexible mechanisms for capturing standard output and error streams, enabling advanced automation scenarios. Overall, CliWrap simplifies process orchestration in .NET applications while maintaining strong safety and performance guarantees.

Features

  • Fluent command configuration API
  • Asynchronous process execution
  • Flexible input and output piping
  • Built-in cancellation support
  • Deadlock-safe process handling
  • Cross-platform .NET compatibility

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow CliWrap

CliWrap Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CliWrap!

Additional Project Details

Programming Language

C#

Related Categories

C# Libraries

Registered

22 hours ago