[comp.lang.modula2] Logitech Modula2 PCDOS Exec/System call wanted

abl@cernvax.UUCP (03/02/87)

I would like to perform a DOS command from inside a Logitech  Modula  2/86
program.  What  I  really want is something like the Unix system call used
to perform shell escapes.  In addition with DOS it helps to have a routine
which  can  read  the  environment  variable  COMSPEC  to find the path to
COMMAND.COM.

I have seen an implementation for Turbo Pascal that does this but not  one
for  Logitech  Modula  2/86.  I  am  using release 1.13 of the compiler so
maybe later versions include a library module to do this.

Also it seems that one must  deallocate  some  of  the  Modula2  program's
memory before performing the DOS Exec call so an explanation of this would
be appreciated.