This commit is contained in:
@@ -52,12 +52,12 @@ namespace AyaNova.Util
|
||||
// var FullRunCommand=$"/C {BackupUtilityCommand} {Arguments}";
|
||||
|
||||
//for Windows need to pass to cmd.exe because often have command line piping etc
|
||||
var args=$"{cmd} {arguments}";
|
||||
var args=$"/C {cmd} {arguments}";
|
||||
using (var process = new Process())
|
||||
{
|
||||
process.StartInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = "cmd.exe /C",
|
||||
FileName = "cmd.exe",
|
||||
Arguments = args,
|
||||
RedirectStandardOutput = true,
|
||||
RedirectStandardError = true,
|
||||
|
||||
Reference in New Issue
Block a user