__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

3 responses to “__Run()

  1. Pingback: Harbour Internal Functions | Viva Clipper !

  2. Pingback: Harbour Misc Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.