Quantcast
Channel: Questions in topic: "command line"
Viewing all articles
Browse latest Browse all 123

Output to terminal / cli

$
0
0
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?

Viewing all articles
Browse latest Browse all 123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>