ColinChang.ShellHelper 2.0.1

It's an utility that can help you to execute command or command file like bat file on windows or shell file on linux.

Install-Package ColinChang.ShellHelper -Version 2.0.1
dotnet add package ColinChang.ShellHelper --version 2.0.1
<PackageReference Include="ColinChang.ShellHelper" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ColinChang.ShellHelper --version 2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This is a utility that can help you to execute commands or command files(like bat file on windows or shell file on linux) on OS.

Tips

  • You can not control the real time or orders when commands will be executed eventually because it will new processes to run different commands or command files.
    Plus, different commands can not share a context.By the way, you can't know what time will it be finished after staring a new processes to execute commands.

  • When one command file being executed in one process, all scrips will be executed orderly, and it will share the context.

  • Some unexpected exceptions perhaps will be thrown when executing commands directly.So only simple commands should be executed directory.For complex commands,
    We strongly recommend that put all of your commands in one command file and execute it.

  • Argument transfer is also supported.

  • Windows/Linux/OS X are all supported.

  • Be sure the property of command files is executable and the right permission are granted.

About how to use this, please check the Sample project.

This is a utility that can help you to execute commands or command files(like bat file on windows or shell file on linux) on OS.

Tips

  • You can not control the real time or orders when commands will be executed eventually because it will new processes to run different commands or command files.
    Plus, different commands can not share a context.By the way, you can't know what time will it be finished after staring a new processes to execute commands.

  • When one command file being executed in one process, all scrips will be executed orderly, and it will share the context.

  • Some unexpected exceptions perhaps will be thrown when executing commands directly.So only simple commands should be executed directory.For complex commands,
    We strongly recommend that put all of your commands in one command file and execute it.

  • Argument transfer is also supported.

  • Windows/Linux/OS X are all supported.

  • Be sure the property of command files is executable and the right permission are granted.

About how to use this, please check the Sample project.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ColinChang.ShellHelper:

Package Downloads
ColinChang.FFmpegHelper
This is a common utility that can help you to run most of ffmpeg commands.It contains a RTSP helper that can recorder a video from RTSP stream.Plus it can use watermark and screenshot.Windows(x64,x86) and macOS are supported currently,Linux will be supported soon.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.1 587 4/8/2019
1.0.0 249 4/3/2019