TProcess.InheritHandles is ignored
Original Reporter info from Mantis: dezlov
-
Reporter name: Denis Kozlov
Original Reporter info from Mantis: dezlov
- Reporter name: Denis Kozlov
Description:
TProcess.InheritHandles is hardcoded to TRUE in the source code of the component, always overriding the value set by the user.
\packages\fcl-process\src\win\process.inc:
procedure TProcess.Execute;
....
begin
FInheritHandles:=True;
....
end;
I scanned through the source of FPC 2.6.0 and InheritHandles is used only on Windows platform, but has no effect.
Mantis conversion info:
- Mantis ID: 22271
- Version: 2.6.0
- Fixed in version: 2.6.4
- Fixed in revision: 25982 (#70976604)
- Monitored by: » dezlov (Denis Kozlov)