I run something like this:
string exec = @"/k" + @"7za.exe a -tzip " + name + ".zip \"" + name + "\"";
processStarter ps.run(exec);
startInfo settings:
startInfo.WorkingDirectory = workingDir;
startInfo.FileName = exe;
startInfo.UseShellExecute = false;
startInfo.RedirectStandardOutput = true;
This zips some folder with command line and 7zip executable. Launched form winform app works fine, zips and goes to next line, but when app is launched form cmd with some arguments program hangs when debugging this line. It makes proper zip archive but program doesn't go to the next line.
I would appreciate any help.