mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 12:53:33 +00:00
start even console apps in there own new window. caught by GvG.
svn path=/trunk/; revision=17881
This commit is contained in:
parent
dadab98225
commit
873253a8e9
|
@ -236,19 +236,9 @@ INT cmd_start (LPTSTR First, LPTSTR Rest)
|
|||
CREATE_NEW_CONSOLE, NULL, NULL, &stui, &prci);
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!_tcsicmp(szFullName,comspec))
|
||||
{
|
||||
bCreate = CreateProcess (szFullName, szFullCmdLine, NULL, NULL, FALSE,
|
||||
CREATE_NEW_CONSOLE, NULL, NULL, &stui, &prci);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
bCreate = CreateProcess (szFullName, szFullCmdLine, NULL, NULL, FALSE,
|
||||
DETACHED_PROCESS, NULL, NULL, &stui, &prci);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (bCreate)
|
||||
|
|
Loading…
Reference in a new issue