Menu

#209 The shell doesn't display any error if exec fails

freedos12
open
freecom (1)
4
2018-09-03
2018-03-28
No

The most likely place this should go is at https://github.com/bartoldeman/freecom/blob/master/shell/command.c#L221 This calls into https://github.com/bartoldeman/freecom/blob/master/lib/exec.c which calls into https://github.com/bartoldeman/freecom/blob/master/lib/lowexec.asm

Test case:

C:\>ver /r

FreeCom version 0.84-pre2 XMS_Swap [Aug 28 2006 00:29:00]
DOS version 7.10
FreeDOS kernel 2042 (build 2042 OEM:0xfd) [compiled May 11 2016]
C:\>type testoom.asm

dw "MZ"
times 510 db -1
C:\>nasm testoom.asm -o testoom.exe
C:\>testoom
C:\>

Expected: An error message about the program not fitting into memory.

Originally reported at https://github.com/bartoldeman/freecom/issues/1

Discussion

  • Jim Hall

    Jim Hall - 2018-05-14
    • assigned_to: Bart Oldeman
     
  • Jim Hall

    Jim Hall - 2018-05-14

    Bart has been doing some work recently on the kernel and command.com, so I'm assigning to him.

     
  • Bart Oldeman

    Bart Oldeman - 2018-09-03

    Fixed in 0.83pre5.

     

Log in to post a comment.