Difference: 0LASubrEnvGetEnvVariable (5 vs. 6)

Revision 62016-10-17 - AlKalter

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.ENV GET ENV VARIABLE

Line: 41 to 41
 
  • client.pref.windowTitle

-- AlKalter - 2012-06-18

Changed:
<
<
<--/commentPlugin-->
>
>
NOTE: To create an environment variable as part of a command line invocation of APPX, prepend two hyphens to the beginning of the variable name. For example, to run an APPX subroutine with a user name as an environment variable, the command line would look something like this:

/usr/local/appx/appx -d=DMO -a=DMO -t=SUBR -p=MY_SUBROUTINE --yourname="Fred Flintstone" 

Then, pass through yourname (without the hyphens) as the <env_name> value for this subroutine.

That same variable can also be retrieved using .GET CMD LINE PARM. For that API, though, the <param_name> variable would need to include the leading hyphens.

-- Al Kalter - 2016-10-17


<--/commentPlugin-->
  -- JeanNeron - 2012-01-25
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback