env

QNX SDP8.0PLMS User's GuideAPIConfigurationDeveloper

Format

env = ["VAR1=VALUE1" [, ... ]

Description

The env keyword represents a list of environment variables to either merge with or override the current environment variables. Use the format VAR=value to specify each variable.

Example

env = ["myvar=/tmp"]

Default

The system default is that the child process inherits the environment of the parent process. The child process inherits the environment that PLMS was started in.

Multiplicity

Zero or one instance in a task block.

Constraints

  • The env values are configured as it is without any evaluation.
  • If a variable appears more than once in the env array, the behavior is undefined for the child process.
  • Use env with options CLEAR_ENV_LOGIN or CLEAR_ENV_ALL to control the environment of the process.
  • If env is specified in a task, then the task must have one of the exec*() functions so that env is used at run time.
Page updated: