mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 03:48:27 +02:00
fppkg: using TProcessUTF8
git-svn-id: trunk@50597 -
This commit is contained in:
parent
0924792e5f
commit
d84bf485e1
@ -36,7 +36,7 @@ interface
|
||||
uses
|
||||
Classes, SysUtils,
|
||||
process,
|
||||
FileUtil;
|
||||
FileUtil, UTF8Process;
|
||||
|
||||
function ExecuteSvnCommand(const Command: string; Output: TStream): integer;
|
||||
function ExecuteSvnCommand(const Command: string): integer;
|
||||
@ -61,7 +61,7 @@ end;
|
||||
|
||||
function ExecuteSvnCommand(const Command: string; Output: TStream): integer;
|
||||
var
|
||||
SvnProcess: TProcess;
|
||||
SvnProcess: TProcessUTF8;
|
||||
|
||||
function ReadOutput: boolean;
|
||||
// returns true if output was actually read
|
||||
@ -89,7 +89,7 @@ var
|
||||
begin
|
||||
if SvnExecutable='' then InitializeSvnExecutable;
|
||||
|
||||
SvnProcess := TProcess.Create(nil);
|
||||
SvnProcess := TProcessUTF8.Create(nil);
|
||||
try
|
||||
SvnProcess.CommandLine := SvnExecutable + ' ' + Command;
|
||||
SvnProcess.Options := [poUsePipes];
|
||||
|
Loading…
Reference in New Issue
Block a user