Further Modify Execute2
This commit is contained in:
parent
d4bcb47012
commit
56b69677d1
1 changed files with 2 additions and 2 deletions
|
@ -191,17 +191,17 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
Directory.SetCurrentDirectory(HandheldcleanupPath);
|
||||
ProcessStartInfo startInfo = new ProcessStartInfo(file, arguments);
|
||||
|
||||
startInfo.UseShellExecute = false;
|
||||
startInfo.RedirectStandardError = true;
|
||||
startInfo.RedirectStandardOutput = true;
|
||||
startInfo.RedirectStandardInput = true;
|
||||
startInfo.UseShellExecute = false;
|
||||
startInfo.CreateNoWindow = true;
|
||||
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
|
||||
|
||||
Process proc = Process.Start(startInfo);
|
||||
|
||||
StreamWriter inputWriter = proc.StandardInput;
|
||||
inputWriter.Write(EnterpriseServer);
|
||||
inputWriter.WriteLine(EnterpriseServer);
|
||||
inputWriter.Flush();
|
||||
inputWriter.Close();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue