@ Tomas and Michael.
Sorry for delay... = many thanks for answers.
Fre;D
-
Many thanks ;-)
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Multipe-path-in-TProcess-Environment-tp5721893p5721912.html
Sent from the Free Pascal - General mailing list
On Mon, 22 Jun 2015, Tomas Hajny wrote:
On Mon, June 22, 2015 00:24, fredvs wrote:
.
.
So LD_PRELOAD and LD_LIBRARY_PATH are unix only ?
What about Windows, what should be the TProcess.Environment.Text ?
= not OK.
I'm not aware of an equivalentof LD_PRELOAD on Windows.
As far as
On Mon, June 22, 2015 00:24, fredvs wrote:
.
.
So LD_PRELOAD and LD_LIBRARY_PATH are unix only ?
What about Windows, what should be the TProcess.Environment.Text ?
= not OK.
I'm not aware of an equivalentof LD_PRELOAD on Windows.
As far as LD_LIBRARY_PATH is concerned - as far as I know,
@ Thomas = tanks for answer.
Unix uses a colon as path delimiter, not semicolon. I don't know about
LD_PRELOAD, but it should work at least for LD_LIBRARY_PATH.
Ha, ok... (by the way, what character is colon ?)
So LD_PRELOAD and LD_LIBRARY_PATH are unix only ?
What about Windows, what should
Hello.
If a TProcess runs a executable who needs a library, that does the trick =
TProcess.Environment.Text := 'LD_PRELOAD='/the/directory/of/thelibrary.so'
;
You may also use this = (it seems bad ;-( =
http://xahlee.info/UnixResource_dir/_/ldpath.html ) =
TProcess.Environment.Text :=
On Sun, June 21, 2015 22:55, fredvs wrote:
Hello.
If a TProcess runs a executable who needs a library, that does the trick
=
TProcess.Environment.Text := 'LD_PRELOAD='/the/directory/of/thelibrary.so'
;
You may also use this = (it seems bad ;-( =
Ha, ok... (by the way, what character is colon ?)
= https://en.wikipedia.org/wiki/Colon_%28punctuation%29
= OK.
But =
So LD_PRELOAD and LD_LIBRARY_PATH are unix only ?
What about Windows, what should be the TProcess.Environment.Text ?
= not OK.
Thanks.
Fre;D
-
Many thanks ;-)
--