|
@@ -144,6 +144,7 @@ Type
|
|
FXTermProgram: String;
|
|
FXTermProgram: String;
|
|
FPipeBufferSize : cardinal;
|
|
FPipeBufferSize : cardinal;
|
|
FDescriptors: Array [TProcessHandleType] of TIODescriptor;
|
|
FDescriptors: Array [TProcessHandleType] of TIODescriptor;
|
|
|
|
+ FSkipCommandLineQuotes : Boolean;
|
|
function GetDescriptor(AIndex: Integer): TIODescriptor;
|
|
function GetDescriptor(AIndex: Integer): TIODescriptor;
|
|
Function GetExitStatus : Integer;
|
|
Function GetExitStatus : Integer;
|
|
Function GetExitCode : Integer;
|
|
Function GetExitCode : Integer;
|
|
@@ -231,6 +232,8 @@ Type
|
|
Property StartupOptions : TStartupOptions Read FStartupOptions Write FStartupOptions;
|
|
Property StartupOptions : TStartupOptions Read FStartupOptions Write FStartupOptions;
|
|
Property Running : Boolean Read GetRunning;
|
|
Property Running : Boolean Read GetRunning;
|
|
Property ShowWindow : TShowWindowOptions Read FShowWindow Write SetShowWindow;
|
|
Property ShowWindow : TShowWindowOptions Read FShowWindow Write SetShowWindow;
|
|
|
|
+ // This option is only used on windows. When set to True, the quoting of executable and parameters is skipped when constructing the command-line.
|
|
|
|
+ Property SkipCommandLineQuotes : Boolean Read FSkipCommandLineQuotes Write FSkipCommandLineQuotes;
|
|
Property WindowColumns : Cardinal Read dwXCountChars Write SetWindowColumns;
|
|
Property WindowColumns : Cardinal Read dwXCountChars Write SetWindowColumns;
|
|
Property WindowHeight : Cardinal Read dwYSize Write SetWindowHeight;
|
|
Property WindowHeight : Cardinal Read dwYSize Write SetWindowHeight;
|
|
Property WindowLeft : Cardinal Read dwX Write SetWindowLeft;
|
|
Property WindowLeft : Cardinal Read dwX Write SetWindowLeft;
|
|
@@ -402,6 +405,7 @@ begin
|
|
FParameters:=TProcessStringList.Create;
|
|
FParameters:=TProcessStringList.Create;
|
|
FRunCommandSleepTime:=100;
|
|
FRunCommandSleepTime:=100;
|
|
FOnRunCommandEvent:=@IntOnIdleSleep;
|
|
FOnRunCommandEvent:=@IntOnIdleSleep;
|
|
|
|
+ FSkipCommandLineQuotes:=False;
|
|
For HT in TProcessHandleType do
|
|
For HT in TProcessHandleType do
|
|
FDescriptors[HT]:=CreateIODescriptor(Self,HT)
|
|
FDescriptors[HT]:=CreateIODescriptor(Self,HT)
|
|
end;
|
|
end;
|