Start processes from C# in DotNet Core
Start processes from C# in DotNet Core Being able to run batch during the lifecycle of an application is always useful. It gives a way to programmatically interact with any programs which implements a CLI. Today we will see how we can start processes from C# on .NET Core applications and how it can be useful in a real scenario 1. Unzip from CLI 2. Use CLI from C# 1. Unzip from CLI In this tutorial we will use a process to execute a 7zip command to extract files into a particular input. If we have 7zip installed and added to PATH, using a terminal, we should able to execute the following from the folder containing the archive: 7z x .\\archive.zip -o.\\archive x stands for extract and -o stands for output directory. The result of this command should be the list of files in extract unzipped into the archive folder. There are times where it comes handy to zip and unzip as part of an application lifecycle, for example to allow a user to download multiple files from our server, we...