[…] If the first, I don't know of any way to do it. […]Well, setenv(3), but while there’s a baseUnix.fpGetEnv() (https://www.freepascal.org/docs-html/rtl/baseunix/fpgetenv.html) there’s no fpSetEnv. Maybe it’s on purpose, though?
[…] If the first, I don't know of any way to do it. […]Well, setenv(3), but while there’s a baseUnix.fpGetEnv() (https://www.freepascal.org/docs-html/rtl/baseunix/fpgetenv.html) there’s no fpSetEnv. Maybe it’s on purpose, though?
This will be an article series once I document the process, it really is smooth and without any of the hackery.
No side-loading, no launching through Node.js, etc. Just a compiled FPC program doing its thing.
(*) Well, there is one setenv(); but it's in libc, which I have always thought was there strictly for Kylix compatibility.
what about setting it directly in the bash shell and export it ? using aprocess.execute ?
it is just 'c' not clib if you are wanting libc ?
what about setting it directly in the bash shell and export it ? using aprocess.execute ?
it is just 'c' not clib if you are wanting libc ?