2.3.73. HOST

Enables you to run a command on your host operating system.

Syntax

HOST command

where:

command

The command that you want to run on your host operating system. This can be a DOS command on a Windows system or Red Hat Linux command.

Description

The HOST command enables you to run a command on your host operating system (Windows or Red Hat Linux).

Restrictions on the use of HOST

The HOST command has the following restrictions:

  • The HOST command is not allowed in a macro.

  • The SET command to modify environment variables is not supported. However, you can use the SET command to list the environment variables that are defined.

  • You cannot use the HOST command to change the current working directory pointed to by RealView Debugger. For example, HOST cd "c:\my sources" has no effect. Instead, use the CWD command.

Examples

The following examples show how to use HOST on Windows system:

host dir "c:\my sources"

Lists the contents of directory c:\my sources. This must be in quotation marks because there is a space in the path name.

host cd

Displays the current directory pointed to by RealView Debugger.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0175N
Non-ConfidentialID052111