forked from KolibriOS/kolibrios
shell 0.5 could run console apps
git-svn-id: svn://kolibrios.org@2502 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -49,11 +49,15 @@ if ( script_check(exec) )
|
||||
result = program_run(exec, args);
|
||||
if (result > 0)
|
||||
{
|
||||
#if LANG_ENG
|
||||
printf (" '%s' started. PID = %d\n\r", cmd, result);
|
||||
#elif LANG_RUS
|
||||
printf (" '%s' <20><><EFBFBD><EFBFBD>饭. PID = %d\n\r", cmd, result);
|
||||
#endif
|
||||
|
||||
if ( !program_console(result) )
|
||||
{
|
||||
#if LANG_ENG
|
||||
printf (" '%s' started. PID = %d\n\r", cmd, result);
|
||||
#elif LANG_RUS
|
||||
printf (" '%s' <20><><EFBFBD><EFBFBD>饭. PID = %d\n\r", cmd, result);
|
||||
#endif
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user