Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e20ef501
Commit
e20ef501
authored
Oct 07, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Pass the command interpreter as exe name from _wpopen.
parent
3a2dda11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
process.c
dlls/msvcrt/process.c
+2
-2
No files found.
dlls/msvcrt/process.c
View file @
e20ef501
...
...
@@ -1125,9 +1125,8 @@ MSVCRT_FILE* CDECL MSVCRT__wpopen(const MSVCRT_wchar_t* command, const MSVCRT_wc
strcpyW
(
fullcmd
,
comspec
);
strcatW
(
fullcmd
,
flag
);
strcatW
(
fullcmd
,
command
);
HeapFree
(
GetProcessHeap
(),
0
,
comspec
);
if
(
msvcrt_spawn
(
MSVCRT__P_NOWAIT
,
NULL
,
fullcmd
,
NULL
,
1
)
==
-
1
)
if
(
msvcrt_spawn
(
MSVCRT__P_NOWAIT
,
comspec
,
fullcmd
,
NULL
,
1
)
==
-
1
)
{
MSVCRT__close
(
fds
[
fdToOpen
]);
ret
=
NULL
;
...
...
@@ -1138,6 +1137,7 @@ MSVCRT_FILE* CDECL MSVCRT__wpopen(const MSVCRT_wchar_t* command, const MSVCRT_wc
if
(
!
ret
)
MSVCRT__close
(
fds
[
fdToOpen
]);
}
HeapFree
(
GetProcessHeap
(),
0
,
comspec
);
HeapFree
(
GetProcessHeap
(),
0
,
fullcmd
);
MSVCRT__dup2
(
fdStdHandle
,
fdToDup
);
MSVCRT__close
(
fdStdHandle
);
...
...
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