start even console apps in there own new window. caught by GvG.

svn path=/trunk/; revision=17881
This commit is contained in:
Brandon Turner 2005-09-16 15:18:07 +00:00
parent dadab98225
commit 873253a8e9

View file

@ -237,18 +237,8 @@ INT cmd_start (LPTSTR First, LPTSTR Rest)
}
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)