Thank you for your response! Unfortunately it made no difference in my case. I am thinking this works for some applications but not all (such as ffmpeg).
Is the ManualResetEvent needed for this to work? I am not using Linux or compiling anything myself. I am using the lastest stable release of Mono Mac, v.2.10 together with MonoDevelop. I used the SDK installer. The bug has previously been noted here: http://lists.ximian.com/pipermail/mono-bugs/2008-December/083423.html This sample will work: http://bugzillafiles.novell.org/attachment.cgi?id=260352 But *not* for ffmpeg in my case (same code as above just changing the path). Maybe that application somehow behaves in a different way? It's strange I can see the output in MonoDevelop (in the console window) but not from code. I also looked into NSTask and NSPipe but it seems NSPipe isn't even available in 2.10 unless I am missing something. -- View this message in context: http://mono.1490590.n4.nabble.com/OutputDataReceived-event-not-raised-when-using-the-Process-class-together-with-Ffmpeg-tp4649705p4649708.html Sent from the Mono - OSX mailing list archive at Nabble.com. _______________________________________________ Mono-osx mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-osx
