Subversion Repositories SvarDOS

Rev

Rev 355 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 355 Rev 357
Line 314... Line 314...
314
    /* is it about quitting? */
314
    /* is it about quitting? */
315
    if (imatch(argvlist[0], "exit")) break;
315
    if (imatch(argvlist[0], "exit")) break;
316
 
316
 
317
    /* try running it as an internal command */
317
    /* try running it as an internal command */
318
    {
318
    {
319
      int ecode = cmd_process(argcount, argvlist, *rmod_envseg);
319
      int ecode = cmd_process(argcount, argvlist, *rmod_envseg, cmdline);
320
      if (ecode >= 0) *lastexitcode = ecode;
320
      if (ecode >= 0) *lastexitcode = ecode;
321
      if (ecode >= -1) continue; /* command is internal but did not set an exit code */
321
      if (ecode >= -1) continue; /* command is internal but did not set an exit code */
322
    }
322
    }
323
 
323
 
324
    /* must be an external command then */
324
    /* must be an external command then */