Skip to content

Instantly share code, notes, and snippets.

@alanmcgovern
Created September 8, 2016 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanmcgovern/55cf5237c24cf9fd6992feeda476a2ab to your computer and use it in GitHub Desktop.
Save alanmcgovern/55cf5237c24cf9fd6992feeda476a2ab to your computer and use it in GitHub Desktop.
diff --git a/Xamarin.Designer.iOS/tools/mtouch-headless/Program.cs b/Xamarin.Designer.iOS/tools/mtouch-headless/Program.cs
index dd75700..2e91866 100644
--- a/Xamarin.Designer.iOS/tools/mtouch-headless/Program.cs
+++ b/Xamarin.Designer.iOS/tools/mtouch-headless/Program.cs
@@ -138,7 +138,9 @@ namespace MonoTouch.Utilities {
Console.WriteLine ("Launched app. PID: {0}", pid);
// Use ProcessMonitor until https://bugzilla.xamarin.com/show_bug.cgi?id=6291 is fixed..
- var exitCode = ProcessMonitor.WaitPid (pid);
+ System.Threading.Thread.Sleep (1000);
+ int exitCode = 0;
+ //var exitCode = ProcessMonitor.WaitPid (pid);
Console.WriteLine ("Process with pid {0} exited with code {1}", pid, exitCode);
if (exitCode != 0 && retry) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment