- Home /
Question by
sugitashannon · Mar 28, 2015 at 04:34 PM ·
windows
How to hide command prompt console?
Hi there
I call .exe file via Unity. It is my code.
System.Diagnostics.ProcessStartInfo info = new System.Diagnostics.ProcessStartInfo();
info.FileName = program_name;
info.WorkingDirectory = file;
info.Arguments = command;
if(windowtype_hidden){
info.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
}
try{
process = System.Diagnostics.Process.Start(info);
}catch(System.ComponentModel.Win32Exception w){
Debug.Log("Not Found." + w);
message = "Not Found.";
return_num = 0;
return false;
}
It show command prompt console.
Could you tell me how to hide command prompt console?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613191444im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
multitouch on desktop possible 1 Answer
Set maximum resolution in Windows 8.1 store app 0 Answers
Communication via Bluetooth virtual serial port does not work correctly. 0 Answers
Where does Unity5 look for native plugin dependencies in the editor on Windows? 1 Answer
SetResolution in full screen is a nightmare (Standalone Windows) 1 Answer