help.hubzero.org now requires two factor authentication through Google Authenticator. Should you need assistance with the two factor authentication please report the problem via a support ticket. close

Menu
Home Documentation 2.2 Tool Developers Tool Paths Passing path variables with the Invoke Script

Documentation

Passing path variables with the Invoke Script

Overview

Passing variable for use in the runtime tool environment are typically necessary, in particular the "@tool" .

See the full invoke_app documentation.

@tool

The variable "@tool" can be passed into your tool via the invoke script.  This is important information for you tool to know so that the tool can access example input files and static data files that reside in the respective directories.  There are two way to pass the "@tool" location via the invoke script to the tool.

1) As an argument to the tool

        -A "@tool"

2) As an environment variable

        -e TOOL_REPO_PATH=@tool

 

Last modified: