From 56b69677d122665f0948ec6288325d4aef485e22 Mon Sep 17 00:00:00 2001 From: Virtuworks Date: Sun, 8 Jun 2014 18:52:20 -0400 Subject: [PATCH] Further Modify Execute2 --- .../BlackBerryProvider.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/BlackBerryProvider.cs b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/BlackBerryProvider.cs index 5bf79df6..49ba3eba 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/BlackBerryProvider.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/BlackBerryProvider.cs @@ -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();