mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 00:02:03 +02:00
IDE: debugger: using TProcessUTF8
git-svn-id: trunk@50602 -
This commit is contained in:
parent
86f68f351f
commit
4a1345e0f6
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user