Top Method Summary
Options Name Purpose
AddLine (character) Adds a line of the standard output to the ttGitOutputLine temp-table
Execute (character, character, character) Runs a git command
ExecuteInputThrough (character, character, character) Runs a git command through INPUT THROUGH
ExecuteProcess (character, character, character) Runs a git command with System.Diagnostics.Process
GetOutputLines (table) Returns the non-empty lines of the standard output of the last git command

Top Property Summary
Options Name Purpose
INTEGER ExitCode
CHARACTER LastLine
LONGCHAR StandardError
LOGICAL UseInputThrough


Method Detail
Top

AddLine (character)

Purpose: Adds a line of the standard output to the ttGitOutputLine
temp-table
Notes: Empty lines are skipped

Parameters:
pcLine CHARACTER
The line of the standard output
Top

Execute (character, character, character)

Purpose: Runs a git command
Notes: Throws an error when the command cannot be started. When an
output file name is passed, the standard output is written to
that file unchanged, otherwise the non-empty lines are kept
(GetOutputLines, LastLine), read as UTF-8 - git writes commit
messages and author names as UTF-8, not in the code page of the
console

Parameters:
pcWorkingDirectory CHARACTER
The working directory of the git process, the current directory when empty
pcArguments CHARACTER
The arguments to pass to the git executable
pcOutputFileName CHARACTER
The name of the file to write the standard output to, ? to keep the lines instead
Top

ExecuteInputThrough (character, character, character)

Purpose: Runs a git command through INPUT THROUGH
Notes: The standard error is redirected into a temp file, the exit code
is echoed as a marker line after the command

Parameters:
pcWorkingDirectory CHARACTER
The working directory of the git process, the current directory when empty
pcArguments CHARACTER
The arguments to pass to the git executable
pcOutputFileName CHARACTER
The name of the file to write the standard output to, ? to keep the lines instead
Top

ExecuteProcess (character, character, character)

Purpose: Runs a git command with System.Diagnostics.Process
Notes:

Parameters:
pcWorkingDirectory CHARACTER
The working directory of the git process, the current directory when empty
pcArguments CHARACTER
The arguments to pass to the git executable
pcOutputFileName CHARACTER
The name of the file to write the standard output to, ? to keep the lines instead
Top

GetOutputLines (table)

Purpose: Returns the non-empty lines of the standard output of the last
git command
Notes: Empty when the standard output was written to a file

Parameters:
ttGitOutputLine TEMP-TABLE ttGitOutputLine
The temp-table with the lines of the standard output


Property Detail
Top

INTEGER ExitCode


Returns INTEGER
Top

CHARACTER LastLine


Returns CHARACTER
Top

LONGCHAR StandardError


Returns LONGCHAR
Top

LOGICAL UseInputThrough


Returns LOGICAL


Temp-Table Detail

Temp-Table ttGitOutputLine

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2026 08:14:58