PipShellProxy
Shell task proxy.
This class is a proxy to Shell commandes. It allow running commands in a shell and get the output and stdout.
CONFIG_FILE_NAME: strenv_file_path: strenv_hash: strenv_name: strworking_dir: strsummary
UnionstrstrMessageDispatcherAttach a custom observer to the shell proxy. The logs of the proxy will be dispatch to the observer
MessageObserverAttach a progress_bar to the shell proxy. The logs of the proxy will be dispatch to the progress_bar logs
ProgressBarRun a command in a shell and return the output. There logs of the command are ignored.
UniondictShellProxyEnvVariableMode - ShellProxyEnvVariableMode.MERGEbool - Falsebool - TrueAnyCreate the env dir.
PathReturns True if the virtual env is installed. False otherwise
boolThis method builds the command to execute.
UnionUnionReturns the path of the config file used to create the env
strGet the default environment variables for the shell proxy. To override in subclasses to provide custom additional default environment variables.
dictReturns the absolute path for the env dir base on a dir name. All env are in the global env dir.
strGet the message dispatcher
MessageDispatcherstrInstall the virtual env. Return True if the env was installed, False if it was already installed, or an error occured.
boolLog an error message using the dispatcher
strLog an info message using the dispatcher
strLog a warining message using the dispatcher
strRead the env file and return its content.
strRun a command in a shell. The logs of the command will be dispatched to the message dispatcher during the execution.
UniondictShellProxyEnvVariableMode - ShellProxyEnvVariableMode.MERGEbool - Falsebool - Falsebool - TrueintRun a command in a shell without blocking the thread. There logs of the command are ignored.
UniondictShellProxyEnvVariableMode - ShellProxyEnvVariableMode.MERGEbool - FalseSysProcShellProxyDTOUninstall the virtual env. Return true if the env was uninstalled, False if it was already uninstalled or an error occured.
boolReturns the name of the class
bool - Falsebool - Falsebool - Falsestrreturn true if the folder is a valid env folder
strboolCreate the virtual environment from a string containing the environment definition.
The env dir name is generated from an hash of the env_str. So if the env_str is the same, the env dir name will be the same.
strMessageDispatcherBaseEnvShellTypeReturns the full name of the class
bool - Falsebool - FalsestrstrVersionReturns the json info file content
strVEnvCreationInfoReturns the type of the env
LiteralGet the human name of the object
strGet the short description of the object
strGet the style of the object
TypingStyleGet the typing name of the object Ex: 'RESOURCE.gws_core.Table'
strTypingNameObjCreate a hash from the env_str to generate a unique env dir name.
strstrGet all the classes that inherit this class
List