Commit Graph

36 Commits

Author SHA1 Message Date
Damjan Jovanovic c5bceecb51 start.exe: STARTUPINFOW needs the STARTF_USESHOWWINDOW flag.
Fixes a regression introduced by 42fa293d48

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48170
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 15:38:32 +01:00
Alexandre Julliard ed6a5e97e0 programs: Make all program entrypoints cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 17:05:47 +02:00
Damjan Jovanovic 42fa293d48 start.exe: Search PATH for the executable to launch.
We want to launch all executables through CreateProcess(), but need to
provide the full path, as the searching CreateProcess() does
internally when the application name is NULL is more limited: it only
searches for .EXE files.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:17:20 +02:00
Damjan Jovanovic 3c7501e8f0 start.exe: Launch all binaries through CreateProcess().
This lets us pass them the title, priority classes, and other
options unsupported by ShellExecuteEx().

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:16:58 +02:00
Damjan Jovanovic f2fa7ec3c5 start.exe: Pass the "show window" flags to CreateProcess() too.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:16:51 +02:00
Damjan Jovanovic 6ae919de81 start.exe: Unquote the title.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:16:42 +02:00
Alexandre Julliard dae088939b start: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:40:12 +02:00
Nikolay Sivov 1c93654885 start: Try cycling through extensions if original path failed to execute.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-24 17:12:44 +02:00
Michael Stefaniuc 414fe80aeb start: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 19:10:02 +02:00
Bas Weelinck 5b4f8a385b start: Ignore multiple quoted arguments as title.
Signed-off-by: Bas Weelinck <bas.weelinck@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 21:21:04 +01:00
Vincent Povirk 9e0971e374 start: Don't use SEE_MASK_NO_CONSOLE. 2014-04-25 10:22:51 +02:00
Frédéric Delanoy c60e81b7c9 start: Use BOOL type where appropriate. 2014-02-27 09:33:06 -06:00
Frédéric Delanoy a478c108e2 start: Constify a character string. 2013-12-20 10:50:40 +01:00
André Hentschel 76bc1d76a5 start: Fix mask for creation flags (coverity). 2012-11-08 15:37:51 +01:00
Francois Gouget 65f686c8cd start: Fix the name of the open verb for the /ProgIDOpen option. 2012-07-02 10:54:40 +02:00
Francois Gouget e0f4d5caf9 start: Fix the command line handling. 2012-06-28 01:38:40 +02:00
Francois Gouget da7e97bbe5 start: Remove the license and the /L option. 2012-03-01 17:29:10 +01:00
Alexandre Julliard c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Frédéric Delanoy 4ebbd0e596 start: Add support for /? command line parameter. 2011-07-11 19:55:31 +02:00
Alexandre Julliard 0f01be47ee start: Pass a valid filename argument to FormatMessage. 2010-03-29 15:50:19 +02:00
Austin English 6deaa09887 start: Handle /B & /I options. 2009-08-03 17:48:42 +02:00
Damjan Jovanovic 3b52d42ab4 start.exe: Add infrastructure to launch windows file open associations from freedesktop. 2009-06-11 11:45:58 +02:00
Vincent Povirk e05951a39d start.exe: Don't use the NO_UI flag when invoked with /unix. 2009-01-03 14:55:31 +01:00
Maarten Lankhorst 70441d5bb8 kernel32: Change all functions to use CDECL. 2008-12-23 13:09:45 +01:00
Alexandre Julliard b66685cdd8 programs: Build the programs that support it with -DWINE_NO_UNICODE_MACROS. 2008-09-03 14:21:41 +02:00
Alexandre Julliard f8282d969a start: Fall back to ShellExecute for unknown binaries in /unix mode. 2008-05-29 12:12:12 +02:00
Vincent Povirk fc29e334f6 start.exe: Add /Unix switch for native file managers. 2008-04-17 12:35:31 +02:00
Anatoly Lyutin 67271dcf3b start: Convert to Unicode. 2007-12-13 14:30:40 +01:00
Kirill K. Smirnov 72d5e7cd36 programs/start: use SEE_MASK_NO_CONSOLE flag as default.
Allows to start console applications in a new window (as Windows does).
2007-07-16 22:55:40 +02:00
Lei Zhang 30a22664e6 start.exe: Put double quotes around arguments with spaces. 2007-07-11 12:42:32 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Fatih Aşıcı 1c9e1f3473 start.exe: build_args now returns the correct string when no parameter
is passed.
2006-02-01 13:50:52 +01:00
Mike McCormack 71de71c308 Remove the limit on the length of the command line. 2005-11-10 11:06:15 +00:00
Stefan Huehner ffe53258aa Fix some -Wstrict-prototypes warnings. 2005-06-27 09:57:28 +00:00
Dan Kegel ba02ae412e Added Windows-compatible start.exe. 2003-01-21 20:14:36 +00:00