3 environment variables scope
ksherlock edited this page 2022-11-01 18:55:31 -04:00

Execute script

uses the same environment as the parent shell argument variables ({#}, {0} etc) are not set

Script

local environment imported but changes are not reflected back in the parent. Argument variables are set.

compiled shell command

only exported variables included, no facility to export.