Ignore:
Timestamp:
Oct 17, 2005, 9:05:11 PM (20 years ago)
Author:
pr
Message:

Bart's fixes for bug 31

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1-0/src/helpers/dosh.c

    r273 r300  
    43084308 *@@changed V0.9.14 (2001-08-03) [umoeller]: fixed potential queue leak
    43094309 *@@changed V0.9.14 (2001-08-03) [umoeller]: fixed memory leak in wait mode; added pusReturn to prototype
     4310 *@@changed V1.0.4  (2005-10-16) [jsmall  ]: inserted new 3rd parameter for session type
     4311 *@@changed V1.0.4  (2005-10-16) [jsmall  ]: changed code so when fWait = FALSE then session is started as independent, not as a child
    43104312 */
    43114313
    43124314APIRET doshQuickStartSession(PCSZ pcszPath,       // in: program to start
    43134315                             PCSZ pcszParams,     // in: parameters for program
     4316                             USHORT usSessionType,  // in: session type
    43144317                             BOOL fForeground,  // in: if TRUE, session will be in foreground
    43154318                             USHORT usPgmCtl,   // in: STARTDATA.PgmControl
     
    43394342
    43404343        SData.Length  = sizeof(STARTDATA);
    4341         SData.Related = SSF_RELATED_CHILD; //INDEPENDENT;
     4344        SData.Related = (fWait) ? SSF_RELATED_CHILD : SSF_RELATED_INDEPENDENT;
     4345                // V1.0.4 (2005-10-16) [jsmall]
    43424346        SData.FgBg    = (fForeground) ? SSF_FGBG_FORE : SSF_FGBG_BACK;
    43434347                // V0.9.3 (2000-05-03) [umoeller]
     
    43514355        SData.Environment = 0;
    43524356        SData.InheritOpt = SSF_INHERTOPT_PARENT;
    4353         SData.SessionType = SSF_TYPE_DEFAULT;
     4357        SData.SessionType = usSessionType;    // V1.0.4 (2005-10-16)  [jsmall]
    43544358        SData.IconFile = 0;
    43554359        SData.PgmHandle = 0;
Note: See TracChangeset for help on using the changeset viewer.