Changeset 3894


Ignore:
Timestamp:
Jul 25, 2000, 8:22:47 PM (25 years ago)
Author:
sandervl
Message:

added support for auto exit of console apps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/kernel32/console.cpp

    r3804 r3894  
    1 /* $Id: console.cpp,v 1.19 2000-07-06 21:18:39 sandervl Exp $ */
     1/* $Id: console.cpp,v 1.20 2000-07-25 18:22:47 sandervl Exp $ */
    22
    33/*
     
    602602
    603603                                          /* terminate console immediately ? */
    604   if (ConsoleGlobals.Options.fTerminateAutomatically == FALSE)
    605     DosWaitThread(&ConsoleGlobals.tidConsole,   /* wait until thd terminates */
    606                   DCWW_WAIT);
     604  if (ConsoleGlobals.Options.fTerminateAutomatically == FALSE) {
     605        if(getenv("ODIN_AUTOEXITCONSOLE") == NULL) {
     606            DosWaitThread(&ConsoleGlobals.tidConsole,   /* wait until thd terminates */
     607                          DCWW_WAIT);
     608        }
     609  }
    607610}
    608611
Note: See TracChangeset for help on using the changeset viewer.