Skip to content

Reference: Exec

Commands Reference

exec.bashEnvToDict

Converts "export XXX=YYY" lines to an environment dict

exec.bashEnvToDict str

Parameters

str Not documented.

exec.call

exec.call ?args?

Parameters

exec.call.in

exec.call.in pwd ?args?

Parameters

pwd Not documented.

exec.cmdGetBashEnv

Runs a command and returns a dict of env based on export lines

exec.cmdGetBashEnv ?args?

Parameters

exec.envDictToBashEnv

exec.envDictToBashEnv dict

Parameters

dict Not documented.

exec.fileGetbashEnv

exec.fileGetbashEnv file

Parameters

file Not documented.

exec.run

exec.run ?args?

Parameters

exec.run.in

exec.run.in pwd ?args?

Parameters

pwd Not documented.

exec.withEnv

Runs the script provided in $args list with a temporary environment modified using the provided envDict.

exec.withEnv envDict ?args?

Parameters

envDict Env dict format: {VARNAME {merge 0/1 value VAL} ... }
merge
  • Merge = 1, the VARNAME will be added to any existing environment value for that name
  • Merge = 0 , the VARNAME will be overriden by value