PipedProcess 2.1.2

dotnet add package PipedProcess --version 2.1.2
NuGet\Install-Package PipedProcess -Version 2.1.2
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="PipedProcess" Version="2.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PipedProcess --version 2.1.2
#r "nuget: PipedProcess, 2.1.2"
#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 PipedProcess as a Cake Addin
#addin nuget:?package=PipedProcess&version=2.1.2

// Install PipedProcess as a Cake Tool
#tool nuget:?package=PipedProcess&version=2.1.2

PipedProcess

C++ helper class to create a child process with redirected std in/out/error streams using the Windows API.

What it does

It can be used to pass arbitrary binary input data to the child process via stdin and retrieve the result data via stdout. Errors can be received via stderr.

What it does not

Currently the class can not be used for asynchronous communication (e.g. messages) to and from the child process.

MIT License

Feel free to use. See LICENSE file for further information.

How to build

The project is a Visual Studio 2022 solution. It should be possible to build it with other compilers, but I have not tested it.

Create nuget package

  1. Get CoApp script from https://coapp.github.io/pages/releases.html

  2. Install CoApp

  3. Run the following command to create the NuGet package

    Write-NuGetPackage .\PipedProcess.autopkg

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.2 26 4/25/2024
2.1.1 2,815 10/18/2016
1.0.4.1 1,312 7/26/2016
1.0.3 1,443 8/22/2015
1.0.2 1,037 8/19/2015
1.0.1 1,013 8/18/2015

updated to vc 2022 and c++17; improved testing; improved comments