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
63e8a260
Commit
63e8a260
authored
Nov 04, 2002
by
Jaco Greeff
Committed by
Alexandre Julliard
Nov 04, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip the allocation of a new console on "wcmd /c <command>" execution,
using the current allocated STDIN and STDOUT handles for command input/output.
parent
3c9d9182
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
wcmdmain.c
programs/wcmd/wcmdmain.c
+10
-5
No files found.
programs/wcmd/wcmdmain.c
View file @
63e8a260
...
...
@@ -67,6 +67,16 @@ HANDLE h;
}
}
/* If we do a "wcmd /c command", we don't want to allocate a new
* console since the command returns immediately. Rather, we use
* the surrently allocated input and output handles. This allows
* us to pipe to and read from the command interpreter.
*/
if
(
strstr
(
args
,
"/c"
)
!=
NULL
)
{
WCMD_process_command
(
param
);
return
0
;
}
/*
* Allocate a console and set it up.
*/
...
...
@@ -87,11 +97,6 @@ HANDLE h;
WCMD_echo
(
"OFF"
);
}
if
(
strstr
(
args
,
"/c"
)
!=
NULL
)
{
WCMD_process_command
(
param
);
return
0
;
}
if
(
strstr
(
args
,
"/k"
)
!=
NULL
)
{
WCMD_process_command
(
param
);
}
...
...
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