1
0

fix a few compiler warnings

This commit is contained in:
2023-10-03 16:13:37 +02:00
parent 4cc76a45ef
commit d981d092e4
8 changed files with 424 additions and 429 deletions

21
Proc/ProcessOutput.cs Normal file
View File

@@ -0,0 +1,21 @@
namespace WordpressEboobScraper2.Proc;
public struct ProcessOutput
{
public readonly string Command;
public readonly int ExitCode;
public readonly string StdOut;
public readonly string StdErr;
public readonly string StdCombined;
public ProcessOutput(string cmd, int ex, string stdout, string stderr, string stdcom)
{
Command = cmd;
ExitCode = ex;
StdOut = stdout;
StdErr = stderr;
StdCombined = stdcom;
}
public override string ToString() => $"{Command}\n=> {ExitCode}\n\n[stdout]\n{StdOut}\n\n[stderr]\n{StdErr}";
}