- Home /
Question by
greggman · May 11, 2016 at 08:52 AM ·
command lineterminal
Output to terminal / cli
How I can I output the terminal / CLI when my app is run from the terminal / CLI?
Let's say I want to use Unity to make a command line utility. For example on OSX the user might type
myUnityTerminalApp/Contents/MacOS/myUnityTerminalApp -i somefile -output someotherfile
I'd like to print things (errors, results) to the terminal but apparently unity defaults to capturing stdout
into a file. I tried outputting to System.Console.OpenStandardOutput()
but that didn't work either.
How can I output to the terminal?
Comment
Your answer
Follow this Question
Related Questions
Run terminal cmd on osx 0 Answers
Text input command terminal 2 Answers
Command line builds for iOS - pro only? 0 Answers
Class could not be found when executing method from command line (-executeMethod) 0 Answers