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
cc796b95
Commit
cc796b95
authored
Jan 28, 2013
by
Putin Evgeny
Committed by
Alexandre Julliard
Jan 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cscript: Correct forming cmd for forwarding to wscript.
parent
ffa7d167
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
main.c
programs/cscript/main.c
+2
-2
No files found.
programs/cscript/main.c
View file @
cc796b95
...
...
@@ -44,8 +44,8 @@ int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPWSTR cmdline, int cm
GetSystemDirectoryW
(
app
,
MAX_PATH
);
strcatW
(
app
,
wscriptW
);
strcpyW
(
cmd
,
app
);
strcatW
(
app
,
parbW
);
strcatW
(
app
,
cmdline
);
strcatW
(
cmd
,
parbW
);
strcatW
(
cmd
,
cmdline
);
if
(
!
CreateProcessW
(
app
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
))
return
1
;
WaitForSingleObject
(
pi
.
hProcess
,
INFINITE
);
...
...
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