WinArgv 1.0.0

Windows command line generation from a standard args array (POSIX argv style).

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package WinArgv -Version 1.0.0
dotnet add package WinArgv --version 1.0.0
<PackageReference Include="WinArgv" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WinArgv --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WinArgv, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install WinArgv as a Cake Addin
#addin nuget:?package=WinArgv&version=1.0.0

// Install WinArgv as a Cake Tool
#tool nuget:?package=WinArgv&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Initial .NET Standard release.  Previously only available for .NET Framework.

Creating a command line programmatically to execute a program with a complicated argument list should not be a difficult problem.
However, Windows places this burden on the programmer.  Instead of just allowing programmers to construct an array with exactly
the arguments they want to appear in the argument array of Main(), Windows programmers need to know how to properly escape the
entire argument list as a string.

Use WinArgv, and don't get burned by spaces, escaping, and quoting.  Generate Windows and argument string, command line, or
ProcessStartInfo to pass to Process.Start().

  • .NETStandard 2.0

    • 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 History

Version Downloads Last updated
1.1.0-dev-22 77 6/17/2021
1.0.0 82 6/17/2021
1.0.0-dev-18 83 6/17/2021
0.9.11 779 9/29/2017
0.9.8 620 5/8/2017