Bugzilla – Bug 324174
[PATCH] System.Diagnostic.Process starting a console-like window on Windows Applications
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by marco.gario@email.it 2007-04-30 13:48:02 MST ---- Description of Problem: When using System.Diagnostic.Process to start a console application on Mono you will get a command-prompt-like window that you don't get with MS. I did set StartInfo.CreateNoWindow=true; I run into this problem ONLY when running a Windows Application. Same code on a Console Application will work as expected. I experienced this problem with openvpn.exe but I then wrote a dummy console program (also in .NET) that caused the same problem. Source Codes are attached. Actual Results: Running with mono will cause a command-promp-like window to be shown Expected Results: You should only see the MessageBox, and then the form, without any command- prompt-like window How often does this happen? Always ---- Additional Comments From marco.gario@email.it 2007-04-30 13:50:11 MST ---- Created an attachment (id=171888) The dummy-console program to be run ---- Additional Comments From marco.gario@email.it 2007-04-30 13:54:41 MST ---- Created an attachment (id=171889) Sample Windows Application Causing the problem (source+sln) ---- Additional Comments From robertj@gmx.net 2007-05-05 19:52:00 MST ---- Created an attachment (id=171890) create_no_window.diff ---- Additional Comments From dick@ximian.com 2007-05-08 09:56:09 MST ---- This patch is fine to commit ---- Additional Comments From robertj@gmx.net 2007-05-08 12:02:04 MST ---- Fixed in SVN r76946. Imported an attachment (id=171888) Imported an attachment (id=171889) Imported an attachment (id=171890) Unknown operating system other. Setting to default OS "Other".