MedallionShell 1.6.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package MedallionShell --version 1.6.0                
NuGet\Install-Package MedallionShell -Version 1.6.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MedallionShell" Version="1.6.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MedallionShell --version 1.6.0                
#r "nuget: MedallionShell, 1.6.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MedallionShell as a Cake Addin
#addin nuget:?package=MedallionShell&version=1.6.0

// Install MedallionShell as a Cake Tool
#tool nuget:?package=MedallionShell&version=1.6.0                

MedallionShell vastly simplifies working with processes in .NET.

.NET ships with the powerful System.Diagnostics.Process class built in. However, the Process API is clunky to use and there are many pitfalls which must be accounted for even in basic scenarios. MedallionShell is built on top of Process and focuses on streamlining common use-cases while eliminating or containing traps so that things "just work" as much as possible.

With MedallionShell, running a process is as simple as:

Command.Run("git", "commit", "-m", "critical bugfix").Wait();

Here are some of the things the library takes care of for you:

  • Clean integration with async/await and Task
  • Piping standard IO streams to and from various sources without creating deadlocks or race conditions
  • Properly escaping process arguments (a common source of security vulnerabilities)
  • Being able to recover from hangs through timeout, CancellationToken, and safe kill, and signal support
  • Cross-platform support (e. g. signals and workarounds for Mono oddities)

To learn more, check out the full documentation.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (18)

Showing the top 5 NuGet packages that depend on MedallionShell:

Package Downloads
NExifTool

.Net wrapper for the excellent ExifTool

Testura.Android

Testura.Android is a lightweight test automation framework for Android built in C#. It contains tools and help classes to test, validate and interact with your Android device or emulator.

MediaToolkit.NetCore

MediaToolkit port to .Net Core

Microsoft.CST.AttackSurfaceAnalyzer

Microsoft Attack Surface Analyzer is an open source security tool that analyzes the attack surface of a target system and reports on potential security vulnerabilities introduced during the installation of software or system misconfiguration. This package contains the AttackSurfaceAnalyzer library. For the CLI Dotnet Tool, see Microsoft.CST.AttackSurfaceAnalyzer.CLI.

Appy.Configuration

AppyWay Configuration Providers for Dotnet

GitHub repositories (8)

Showing the top 5 popular GitHub repositories that depend on MedallionShell:

Repository Stars
Tyrrrz/CliWrap
Library for running command-line processes
rnwood/smtp4dev
smtp4dev - the fake smtp email server for development and testing
microsoft/AttackSurfaceAnalyzer
Attack Surface Analyzer can help you analyze your operating system's security configuration for changes during software installation.
webprofusion/certify
Professional ACME Client for Windows. Certificate Management UI, powered by Let's Encrypt and compatible with all ACME v2 CAs. Download from certifytheweb.com
ForNeVeR/Cesium
C compiler for the CLI platform
Version Downloads Last updated
1.6.2 482,345 11/15/2020
1.6.2-rc01 496 11/9/2020
1.6.1 375,934 12/23/2019
1.6.1-alpha01 424 12/17/2019
1.6.0 75,719 4/27/2019
1.5.1 135,814 4/30/2018
1.5.0 47,135 8/18/2017
1.4.0 1,411 7/1/2017
1.3.0 6,253 5/31/2017
1.2.1 9,164 10/12/2016
1.2.0 3,701 10/11/2016
1.1.0 20,531 7/12/2015
1.0.3 1,448 6/12/2015
1.0.2 2,052 2/22/2015
1.0.1 2,012 8/30/2014
1.0.0 1,764 8/23/2014