Skip to main content

Other callbacks

Run Agent

Runs an agent.

Signature: agent.run(agentexe, agentinput, opinput, attributes)

Parameters:

  • agentexe - The binary that should be run

  • agentinput - The agent input for the operation

  • opinput - The operation input for the operation

  • attributes - The attributes for the operation

Return Value:

  • Agent return code from operation that was run

Remarks:

The agentinput, opinput and attributes are what is normally stored in the cinfo['agentinput'], cinfo['opinput'], cinfo['attributes'] respectively. If calling list operations the filename should be changed for the list file. If wrapping a list operation the listing callbacks should be called to populate the agent's list file from the wrapped agent's list files.