Process execution (OMPROCESS)

The OMPROCESS library provides a mechanism to execute a program outside of OmniMark, to control the input to this program, and process the output from this program.

The following line must be included at the beginning of any OmniMark program using this library:

       import "omprocess.xmd" unprefixed

This is a complete list of the OMPROCESS library external exceptions that may be thrown back to the calling OmniMark program. These are all catchable using the #EXTERNAL-EXCEPTION label.

  • OMPROCESS_002 Unable to launch process.
  • OMPROCESS_003 Process terminated abnormally.
  • OMPROCESS_004 Directory 'X' is not accessible.
  • OMPROCESS_005 Unable to change to directory 'X'.
  • OMPROCESS_006 Unable to create pipe for 'X'.
  • OMPROCESS_007 Unable to write to child process.
  • OMPROCESS_801 Unable to glob pattern.