gridtk.setshell

Wrappers for Idiap’s SETSHELL functionality.

Functions

environ(context)

Retrieves the environment for a particular SETSHELL context.

replace(context, command)

sexec(context, command[, error_on_nonzero])

Executes a command within a particular Idiap SETSHELL context.

gridtk.setshell.environ(context)[source]

Retrieves the environment for a particular SETSHELL context.

Return type:

dict[str, str]

gridtk.setshell.sexec(context, command, error_on_nonzero=True)[source]

Executes a command within a particular Idiap SETSHELL context.

Return type:

bytes

gridtk.setshell.replace(context, command)[source]