IDE: debugger: using TProcessUTF8

git-svn-id: trunk@50602 -
This commit is contained in:
mattias 2015-12-04 16:05:44 +00:00
parent 86f68f351f
commit 4a1345e0f6
2 changed files with 4 additions and 1 deletions

View File

@ -115,11 +115,14 @@ begin
SetState(dsInit);
FProcess := TDBGProcess.Create(nil);
try
ShowMessage('AAA1 FileName='+FileName);
TDBGProcess(FProcess).OnDestroy := @ProcessDestroyed;
GetDefaultProcessList.Add(FProcess);
FProcess.Executable := FileName;
SplitCmdLineParams(Arguments,FProcess.Parameters);
ShowMessage('AAA2 Params='+FProcess.Parameters.Text);
ShowMessage('AAA3 WorkingDir='+WorkingDir);
FProcess.CurrentDirectory := WorkingDir;
FProcess.Environment.Assign(Environment);
if ShowConsole

View File

@ -34,7 +34,7 @@ type
zombies. }
TProcessList = class
private
FItems: TList; // list of TProcess
FItems: TList; // list of TProcessUTF8
FFreeing: Boolean; // set wehn freeing stopped processes
function GetCount: integer;
function GetItems(Index: integer): TProcessUTF8;