I am willing to run an external EXE file with command arguments. The Scripting API didn't provide me with information regarding http://System.IO or running external files. The best info received was a link to MS Framework related classes, but I am actually looking for a straightforward example.
I have searched UnityAnswers for some time about this, and the closest example I have found on UnityAnswers is this:
Please, can you supply me with an example of how to run an external program like "../VideoPlayer/myVideoPlayer.exe -fullscreen" for instance?
asked May 05 '10 at 08:38 AM
Process is in the System.Diagnostics namespace - you'll need to have import System.Diagnostics at the top of your script to be able to use it like you're doing
Alternatively (though less preferable), you could use System.Diagnostics.Process instead
answered May 05 '10 at 10:52 AM