mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 09:04:11 +01:00 
			
		
		
		
	IDE: changed processdebugger to TProcessUTF8
git-svn-id: trunk@41786 -
This commit is contained in:
		
							parent
							
								
									b9e87a8452
								
							
						
					
					
						commit
						dd3feb148b
					
				@ -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]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user