Difference between revisions of "RUN"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 11: Line 11:
  
 
==Syntax==
 
==Syntax==
RUN | ! <os-command>
+
RUN | ! | !! <os-command>
 
   
 
   
  
 
==See Also==
 
==See Also==
[[ALIAS]], [[FUNCTION]], [[KEYWORD]], [[LIST HISTORY]], [[QUIT]], [[SPAWN]], [[SET HISTORY]]
+
[[ALIAS]], [[FUNCTION]], [[KEYWORD]], [[LIST HISTORY]], [[QUIT]], [[SPAWN]], [[SET HISTORY]], [[SET RUNCLEAR]], [[SET RUNWAIT]], [[DB_RUNLOG]], [[DB_RUNOPTS]], [[DB_RUNOPTS2]]
  
  
 
==Description==
 
==Description==
The RUN command and the ! command are synonymous.  They provide the facility for running operating system commands or external programs from within the system.
+
The RUN command and the ! command are synonymous.  They provide the facility for running operating system commands or external programs from within the system.  The !! command operates in the same way, but any output is displayed at the current screen location rather than the top of the screen.
  
  
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
run dir
+
run ps -ef
 +
! ps -ef
 +
!! ps -ef
 
</code>
 
</code>
  

Revision as of 11:22, 19 March 2009

RUN

Class

Disk and File Utilities


Purpose

Execute an operating system command or external program.


Syntax

RUN | ! | !! <os-command>


See Also

ALIAS, FUNCTION, KEYWORD, LIST HISTORY, QUIT, SPAWN, SET HISTORY, SET RUNCLEAR, SET RUNWAIT, DB_RUNLOG, DB_RUNOPTS, DB_RUNOPTS2


Description

The RUN command and the ! command are synonymous. They provide the facility for running operating system commands or external programs from within the system. The !! command operates in the same way, but any output is displayed at the current screen location rather than the top of the screen.


Example

run ps -ef
! ps -ef
!! ps -ef


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer