Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5ac2238a
Commit
5ac2238a
authored
Mar 21, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcmd: Try executing the process even if the exe file doesn't exist.
It may be a builtin exe in which case the CreateProcess call will succeed.
parent
d404fb5b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
wcmdmain.c
programs/wcmd/wcmdmain.c
+4
-4
No files found.
programs/wcmd/wcmdmain.c
View file @
5ac2238a
...
@@ -594,11 +594,11 @@ char filetorun[MAX_PATH];
...
@@ -594,11 +594,11 @@ char filetorun[MAX_PATH];
/* No batch file found, assume executable */
/* No batch file found, assume executable */
hinst
=
FindExecutable
(
param1
,
NULL
,
filetorun
);
hinst
=
FindExecutable
(
param1
,
NULL
,
filetorun
);
if
((
int
)
hinst
<
32
)
{
if
((
int
)
hinst
<
32
)
WCMD_print_error
();
console
=
0
;
return
;
else
}
console
=
SHGetFileInfo
(
filetorun
,
0
,
&
psfi
,
sizeof
(
psfi
),
SHGFI_EXETYPE
);
console
=
SHGetFileInfo
(
filetorun
,
0
,
&
psfi
,
sizeof
(
psfi
),
SHGFI_EXETYPE
);
ZeroMemory
(
&
st
,
sizeof
(
STARTUPINFO
));
ZeroMemory
(
&
st
,
sizeof
(
STARTUPINFO
));
st
.
cb
=
sizeof
(
STARTUPINFO
);
st
.
cb
=
sizeof
(
STARTUPINFO
);
init_msvcrt_io_block
(
&
st
);
init_msvcrt_io_block
(
&
st
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment