Hi Rolf, 

Thanks, that was the problem (stderr -> std output)

On Jan 2, 2013, at 6:38 AM, "Rolf Bjarne Kvinge [via MonoTouch]" 
<[email protected]> wrote:

> Hi,
> 
> I just tried this with a sample app, and the following command worked for me:
> 
> /Developer/MonoTouch/usr/bin/mtouch -sdkroot 
> /Applications/Xcode.app/Contents/Developer -launchsim 
> /Users/rolf/Projects/instruments/bin/iPhoneSimulator/Debug/instruments.app 
> -sdk 6.0 --stderr=stderr --stdout=stdout
> 
> The only quirk was that the Console.WriteLine output was written to stderr 
> instead of stdout.
> 
> Rolf
> 
> On Tue, Jan 1, 2013 at 6:32 PM, Xy <[hidden email]> wrote:
> Would really appreciate any help with this issue.
> 
> 
> Xy wrote
> > Thanks for the reply, but this is far more complicated than it seems like
> > it should be, and really does not help.  All we want to do is capture the
> > Application text output of the application, but running mtouch
> > --installsim does NOT appear to be outputting this data to the command
> > line, as it should.  In addition, adding the --stdout=output line does not
> > do anything, and --stderr=error does not do anything either.  This appears
> > to be a bug.  We should not have to set up a server in order to capture
> > simple printouts -- shouldn't they just be outputted to the console by
> > mtouch?  Can you please advise? Thanks!
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/mtouch-stdout-not-writing-to-file-how-to-capture-output-tp4657872p4657913.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [hidden email]
> http://lists.ximian.com/mailman/listinfo/monotouch
> 
> 
> _______________________________________________ 
> MonoTouch mailing list 
> [hidden email] 
> http://lists.ximian.com/mailman/listinfo/monotouch
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://monotouch.2284126.n4.nabble.com/mtouch-stdout-not-writing-to-file-how-to-capture-output-tp4657872p4657917.html
> To unsubscribe from mtouch --stdout not writing to file, how to capture 
> output?, click here.
> NAML





--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/mtouch-stdout-not-writing-to-file-how-to-capture-output-tp4657872p4657919.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to