- Home /
How do I run an exe from unity without a window poping up.
I currently am using this code.
var myProcess:Process = new Process();
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
myProcess.Start("phantomjs.exe",newD3Command);
To run the phantomjs.exe with the command stored in newD3Command, but I continue haveing a window pop up everytime I run this code despite the ProcessWindowStyle being set to Hidden. I am looking for some way of preforming the same task but without the window poping up. It is very annoying and it makes it so I have to click on the unity application in order to go back to the unity application. Any ideas how to fix this problem?
Comment
Your answer
Follow this Question
Related Questions
In build - Process cannot find file 1 Answer
Starting serproxy Process from Unity 0 Answers
Unable To Start Commandline Process on linux 0 Answers
What are the steps to making a video game? 0 Answers
multiple choice question in Unity 2 Answers