# __RUN()

Run an external program.

Syntax

  __RUN( <cCommand> )

Arguments

  <cCommand> Command to execute.

Description

  This command runs an external program. Please make sure that you have enough free memory to be able to run the external program. Do not use it to run Terminate and Stay Resident programs (in case of DOS) since that causes several problems.
  Note: This function is what the RUN command preprocesses into. It is considered bad form to use this function directly. Use the RUN command instead.

Examples

          __Run( "edit " + cMyTextFile )    // Runs an external editor
          __Run( "command" )                // Gives a DOS shell (DOS only)

Status

  Ready

Compliance

  This function is Ca-Clipper compliant.

Platforms

  All

Files

  source/rtl/run.c Library is rtl

See Also

- RUN