next up previous contents
Next: runAndWait Up: Methods Previous: run   Contents


runConsole

Description

Executes a command and returns the output.


Syntax

Shell.runConsole(command);


Parameters

command
Specifies the command to execute.


Returns

String. Returns the output of the command.


Example

trace(Shell.runConsole("ping 192.168.100.58"));




Copyright ©2000-2007 Shanghai TopCMM Software Technologies. All Rights Reserved.