2

I am using functions written in C with the help of a bridging header in my swift application. The code I am bridging writes to standard out and standard error, which shows up in the console in Xcode. Is there a way to capture that output from within my swift application?

DudeOnRock
  • 3,685
  • 3
  • 27
  • 58
  • Have you tried this http://stackoverflow.com/questions/584868/rerouting-stdin-and-stdout-from-c ? – Ôrel Mar 26 '16 at 23:16

0 Answers0