host

Syntax

host <os_command>

Description

Runs an operating system command. The command is run in the same console as ttIsql.

This command sets the environment variable TT_CONNSTR in the environment of the process it creates.

The value of the variable is the connection string of the current connection.

To see the exit status of the command, use the define command with _EXIT_STATUS.

Examples

Command> host ls -1 *.hh; 
Algorithms.hh
Timer.hh
a.hh

Command> host ls /dev/null;
/dev/null

Command> host vi script.sql;