Bug 324174 (MONO81496) - [PATCH] System.Diagnostic.Process starting a console-like window on Windows Applications
Summary: [PATCH] System.Diagnostic.Process starting a console-like window on Windows A...
Status: RESOLVED FIXED
Alias: MONO81496
Product: Mono: Runtime
Classification: Mono
Component: io-layer (show other bugs)
Version: 1.2
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Dick Porter
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-30 20:48 UTC by marco.gario
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
The dummy-console program to be run (223 bytes, text/plain)
2007-04-30 20:50 UTC, Thomas Wiest
Details
Sample Windows Application Causing the problem (source+sln) (7.96 KB, application/octet-stream)
2007-04-30 20:54 UTC, Thomas Wiest
Details
create_no_window.diff (1.73 KB, patch)
2007-05-06 02:52 UTC, Thomas Wiest
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:37:10 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".