module documentation
(source)

Win32 utilities.

See also twisted.python.shortcut.

Variable O_BINARY the 'binary' mode flag on Windows, or 0 on other platforms, so it may safely be OR'ed into a mask for os.open.
Variable ERROR_FILE_NOT_FOUND Undocumented
Variable ERROR_PATH_NOT_FOUND Undocumented
Variable ERROR_INVALID_NAME Undocumented
Variable ERROR_DIRECTORY Undocumented
Class FakeWindowsError Stand-in for sometimes-builtin exception on platforms for which it is missing.
Function cmdLineQuote Internal method for quoting a single command-line argument.
Function quoteArguments Quote an iterable of command-line arguments for passing to CreateProcess or a similar API. This allows the list passed to reactor.spawnProcess to match the child process's sys.argv properly.
Variable formatError Undocumented
Variable _cmdLineQuoteRe Undocumented
Variable _cmdLineQuoteRe2 Undocumented
Class _ErrorFormatter Formatter for Windows error messages.
O_BINARY = (source)
the 'binary' mode flag on Windows, or 0 on other platforms, so it may safely be OR'ed into a mask for os.open.
ERROR_FILE_NOT_FOUND = (source)

Undocumented

(type: int)
ERROR_PATH_NOT_FOUND = (source)

Undocumented

(type: int)
ERROR_INVALID_NAME = (source)

Undocumented

(type: int)
ERROR_DIRECTORY = (source)

Undocumented

(type: int)
_cmdLineQuoteRe = (source)

Undocumented

_cmdLineQuoteRe2 = (source)

Undocumented

def cmdLineQuote(s): (source)

Internal method for quoting a single command-line argument.

Parameterssan unquoted string that you want to quote so that something that does cmd.exe-style unquoting will interpret it as a single argument, even if it contains spaces. (type: str)
Returnsa quoted string. (type: str)
def quoteArguments(arguments): (source)

Quote an iterable of command-line arguments for passing to CreateProcess or a similar API. This allows the list passed to reactor.spawnProcess to match the child process's sys.argv properly.

Parametersargumentsan iterable of str, each unquoted.
Returnsa single string, with the given sequence quoted as necessary.
formatError = (source)

Undocumented

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.