ToolChain.Windows¶
Exceptions
WindowsException
: Base class for all tool specific exceptions
Classes
Cmd
: Represent an executable.
-
exception
ToolChain.Windows.
WindowsException
(message='')[source]¶ Inheritance
Members
-
__str__
()¶ Returns the exception’s message text.
-
args
¶
-
-
class
ToolChain.Windows.
Cmd
(platform, dryrun, logger=None)[source]¶ Inheritance
Members
-
Cmd.
Parameters
= [<class 'ToolChain.Windows.Cmd.Executable'>, <class 'ToolChain.Windows.Cmd.SwitchCommand'>]¶
-
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)¶
-