ToolChain.Windows

Exceptions

Classes

  • Cmd: Represent an executable.
exception ToolChain.Windows.WindowsException(message='')[source]

Inheritance

Inheritance diagram of WindowsException

Members

__init__(message='')

Exception initializer

Parameters:message (str) – The exception message.
__str__()

Returns the exception’s message text.

args
class ToolChain.Windows.Cmd(platform, dryrun, logger=None)[source]

Inheritance

Inheritance diagram of Cmd

Members

class Executable[source]
class Cmd.SwitchCommand[source]
_name = 'C'
Cmd.Parameters = [<class 'ToolChain.Windows.Cmd.Executable'>, <class 'ToolChain.Windows.Cmd.SwitchCommand'>]
Cmd.GetEnvironment(settingsFile=None)[source]
Cmd.GetReader()
Cmd.Log(entry, condition=True)

Write an entry to the local logger.

Cmd.LogDebug(*args, condition=True, **kwargs)
Cmd.LogDryRun(*args, condition=True, **kwargs)
Cmd.LogError(*args, condition=True, **kwargs)
Cmd.LogFatal(*args, condition=True, **kwargs)
Cmd.LogInfo(*args, condition=True, **kwargs)
Cmd.LogNormal(*args, condition=True, **kwargs)
Cmd.LogQuiet(*args, condition=True, **kwargs)
Cmd.LogVerbose(*args, condition=True, **kwargs)
Cmd.LogWarning(*args, condition=True, **kwargs)
Cmd.Logger

Return the local logger instance.

Cmd.Path
Cmd.ReadUntilBoundary(indent=0)
Cmd.Send(line, end='\n')
Cmd.SendBoundary()
Cmd.StartProcess(parameterList)
Cmd.Terminate()
Cmd._POC_BOUNDARY = '====== POC BOUNDARY ======'
Cmd._TryLog(*args, condition=True, **kwargs)