argv

Run Version

runargv

This run variable does not apply to pbssh. If it is present in the policy, it does not have any effect on pbssh and is ignored.

Data Type

List. argv is read-only. runargv is modifiable.

Description

The argv and runargv variables contain the list of argument values that are associated with the current command. The first argument value, with index 0, is the name of the command. Use the run version of this variable to change an argument value.

Syntax

runargv = list;

Valid Values

A list in which the first element contains the name of the current command, as entered by the submitting user. The remaining list elements contain the command arguments, as entered by the submitting user. argv is a read-only variable whose value comes from the pbrun command line. The default value of runargv is the value of argv.

runargv = {"uname", "-a"};

For more information, see the following: