IDE: changed processdebugger to TProcessUTF8

git-svn-id: trunk@41786 -
This commit is contained in:
mattias 2013-06-22 08:08:24 +00:00
parent b9e87a8452
commit dd3feb148b

View File

@ -38,7 +38,7 @@ unit ProcessDebugger;
interface
uses
Classes, SysUtils, FileUtil, Process, Debugger, LCLProc,
Classes, SysUtils, FileUtil, UTF8Process, Process, Debugger, LCLProc,
BaseDebugManager, Dialogs, ProcessList;
type
@ -68,7 +68,7 @@ type
{ TDBGProcess }
TDBGProcess = class(TProcess)
TDBGProcess = class(TProcessUTF8)
private
FOnDestroy: TNotifyEvent;
protected
@ -113,8 +113,8 @@ begin
FProcess := TDBGProcess.Create(nil);
try
FProcess.CommandLine := UTF8ToSys('"'+FileName + '" ' + Arguments);
FProcess.CurrentDirectory := UTF8ToSys(WorkingDir);
FProcess.CommandLine := '"'+FileName + '" ' + Arguments;
FProcess.CurrentDirectory := WorkingDir;
FProcess.Environment.Assign(Environment);
if ShowConsole
then FProcess.Options:= [poNewConsole]