Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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