Rishi.ShellBind 1.0.1

Suggested Alternatives

Rishi.ShellBind 1.3.0-stable

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rishi.ShellBind --version 1.0.1
NuGet\Install-Package Rishi.ShellBind -Version 1.0.1
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="Rishi.ShellBind" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rishi.ShellBind --version 1.0.1
#r "nuget: Rishi.ShellBind, 1.0.1"
#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 Rishi.ShellBind as a Cake Addin
#addin nuget:?package=Rishi.ShellBind&version=1.0.1

// Install Rishi.ShellBind as a Cake Tool
#tool nuget:?package=Rishi.ShellBind&version=1.0.1

cs-shellbind

Bind command as stream. WARNING: Never pass unsanitized strings to the hostname, port, etc.; they are just passed as-is and might cause shell escape attacks.

stdbuf (GNU coreutils/BSD) or unbuffer from expect (TCL) should preferably be there too (although this can work without it, there might be buffering delays).

ShellSocket should be initialized with the values; default uses stdbuf but can be changed later. Comes with utility classes Pair and StatPair, which can be used to pair a Read/Write stream into one large stream. RedirectErrorsToStream and RedirectErrorsToConsole were added.

Architrcture

GetStream() returns the stream of ShellSocket. ProxySocket should be Start()ed to connect.

Usage

Please see the Test file.

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 netcoreapp2.2 is compatible.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 2.2

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Rishi.ShellBind:

Package Downloads
Rishi.Proxy.NativeHTTPProxyClient

HTTP Proxy support for C# using System.Net.TcpClient. Expected to work on all NetStandard platforms.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.0-stable 390 10/9/2019
1.2.1 910 10/9/2019
1.2.0 725 10/8/2019
1.1.5 714 10/1/2019
1.1.4 652 9/30/2019
1.1.3 706 9/30/2019
1.1.2 717 9/28/2019
1.1.1 701 9/27/2019
1.1.0 698 9/27/2019
1.0.6 663 9/22/2019
1.0.5 690 9/20/2019
1.0.4 683 9/20/2019
1.0.3 666 9/20/2019
1.0.2 710 9/19/2019
1.0.1 736 9/19/2019
1.0.0 708 9/19/2019