public static string GetOutput( this IExecutable executable, ArgumentString arguments = default, byte[]?input = null, Encoding?outputEncoding = null, CommandCache?cache = null, bool stripAnsiEscapeCodes = true) { return(GitUI.ThreadHelper.JoinableTaskFactory.Run( () => executable.GetOutputAsync(arguments, input, outputEncoding, cache, stripAnsiEscapeCodes))); }