Kirill K. Smirnov : programs/start: use SEE_MASK_NO_CONSOLE flag as default .

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 16 16:27:17 CDT 2007


Module: wine
Branch: master
Commit: 72d5e7cd36af48418436deca83e308d55b0ae3d2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=72d5e7cd36af48418436deca83e308d55b0ae3d2

Author: Kirill K. Smirnov <lich at math.spbu.ru>
Date:   Mon Jul 16 19:19:06 2007 +0400

programs/start: use SEE_MASK_NO_CONSOLE flag as default.

Allows to start console applications in a new window (as Windows does).

---

 programs/start/start.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/programs/start/start.c b/programs/start/start.c
index b3a8f1c..773544f 100644
--- a/programs/start/start.c
+++ b/programs/start/start.c
@@ -136,7 +136,9 @@ int main(int argc, char *argv[])
 	sei.lpVerb = "open";
 	sei.nShow = SW_SHOWNORMAL;
 	/* Dunno what these mean, but it looks like winMe's start uses them */
-	sei.fMask = SEE_MASK_FLAG_DDEWAIT|SEE_MASK_FLAG_NO_UI;
+	sei.fMask = SEE_MASK_FLAG_DDEWAIT|
+	            SEE_MASK_FLAG_NO_UI|
+	            SEE_MASK_NO_CONSOLE;
 
 	/* Canonical Microsoft commandline flag processing:
 	 * flags start with /, are case insensitive,




More information about the wine-cvs mailing list