Shark中的ToolAgent用法-RuntimeApplicationToolAgent

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

RuntimeApplicationToolAgent - Executes some system applications like notepad or any other executable application. It is important that this application should be in the system path of machine where shark is running.

If you use application mode 0 (zero), the tool agent will wait until the executable application is completed, and if you choose application status other then 0 the tool agent will finish its work as soon as the executable application is started (this usually happens immediately), and shark will proceed to the next activity, even if the executable application is still running (this is asynchronous starting of some external applications).

This tool agent accepts parameters (AppParameter class instances), but does not modify any. The parameters sent to this tool agents, for which the corresponding application definition formal parameters are of "IN" type, and whose data type is string, are added as suffixes to the application name, and resulting application that is started could be something like "notepad c:\Shark\readme"

This tool agent is able to "understand" the extended attributes with the following names:

AppName - value of this attribute should represent the executable application name to be executed by tool agent

AppMode - value of this attribute should represent the mode of execution, if set to 0 (zero), tool agent will wait until the executable application is finished.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航