Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-05

TProcess InheritHandles has no effect

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luca Olivetti

According to the documentation InheritHandles only works in windows. However the windows implementation of TProcess.Execute has in the first line

FInheritHandles:=true

so it doesn't work even under windows.

fpc 2.4.2, but I checked in svn and it's the same.

Bye

Luca
Luca Olivetti
to Luca Olivetti

Al 26/05/11 13:14, En/na Luca Olivetti ha escrit:

Show quoted text 9 lines
According to the documentation InheritHandles only works in windows. However the windows implementation of TProcess.Execute has in the first line FInheritHandles:=true so it doesn't work even under windows. fpc 2.4.2, but I checked in svn and it's the same.

And in 2.6.0 and, again, in svn.

Bye

Luca