__Run()

Template

Procedure

Name

__Run()

Category

API

Subcategory

Environment

Oneliner

Run an external program.

Syntax

      __Run( <cCommand> )

Arguments

<cCommand> Command to execute.

Description

This command runs an external program. Ensure 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 MS-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 OS shell

Compliance

Clipper

Platforms

All

Files

Library is core

Seealso

RUN