createprocess. Stop command prompt being shown
-
Hello, I have several precompiled binaries(but not the code) and am looking to make a GUI to make the use of these binaries more user friendly. I was going to call the binaries by using createprocess but the problem is when the binaries run the command propmt flashes up and sort of makes the GUI look messy. Is there a way I can call these binaries and request that their window/prompt is not visible? Thanks
-
Hello, I have several precompiled binaries(but not the code) and am looking to make a GUI to make the use of these binaries more user friendly. I was going to call the binaries by using createprocess but the problem is when the binaries run the command propmt flashes up and sort of makes the GUI look messy. Is there a way I can call these binaries and request that their window/prompt is not visible? Thanks
-
Hello, I have several precompiled binaries(but not the code) and am looking to make a GUI to make the use of these binaries more user friendly. I was going to call the binaries by using createprocess but the problem is when the binaries run the command propmt flashes up and sort of makes the GUI look messy. Is there a way I can call these binaries and request that their window/prompt is not visible? Thanks
Ylno wrote:
I have several precompiled binaries(but not the code) and am looking to make a GUI to make the use of these binaries more user friendly. I was going to call the binaries by using createprocess but the problem is when the binaries run the command propmt flashes up and sort of makes the GUI look messy. Is there a way I can call these binaries and request that their window/prompt is not visible?
Yes. Set the
CreateNoWindow
property in yourProcess
StartInfo
to true. See below.Process cmdLineProcess = new Process(); cmdLineProcess.StartInfo.CreateNoWindow = true;
I'm going to become rich when I create a device that allows me to punch people in the face over the internet. "If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer