[fpc-pascal] Re: Linux: How to execute a program, but not to wait until finishes

2011-07-15 Thread leledumbo
Try Michael's suggestion. It works, even on other platforms. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Linux-How-to-execute-a-program-but-not-to-wait-until-finishes-tp4550251p4593043.html Sent from the Free Pascal - General mailing list archive at Nabble.co

Re: [fpc-pascal] [semi-off-topic] some C questions arising while using h2pas

2011-07-15 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 15 Jul 2011, at 14:40, Mark Morgan Lloyd wrote: I wonder if I could tack a question onto this. When I started looking at SPARC Solaris 10 and Solaris 8 earlier in the year, I found that the linker (which I think was gld) followed symlinks at build time rather than waitin

Re: [fpc-pascal] [semi-off-topic] some C questions arising while using h2pas

2011-07-15 Thread Jonas Maebe
On 15 Jul 2011, at 14:40, Mark Morgan Lloyd wrote: > I wonder if I could tack a question onto this. When I started looking at > SPARC Solaris 10 and Solaris 8 earlier in the year, I found that the linker > (which I think was gld) followed symlinks at build time rather than waiting > until runt

Re: [fpc-pascal] Re: Linux: How to execute a program, but not to wait until finishes

2011-07-15 Thread fred f
first of all, thanks for answers, but >> fpsystem('/my/path/to/exe &'); works fine and it does what I want, but when my application ends then the started app over fpsystem is closed as well. Thanks in advance. F. ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] [semi-off-topic] some C questions arising while using h2pas

2011-07-15 Thread Bernd
2011/7/15 Jonas Maebe : > FPC comes with translated openssl headers, so other than for learning > purposes you shouldn't have to do this. The problem currently is that it seems to provide only a subset of all functionality of openssl. Specifically I am currently looking for an implementation of

Re: [fpc-pascal] [semi-off-topic] some C questions arising while using h2pas

2011-07-15 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 15 Jul 2011, at 13:43, Bernd wrote: To get used to this entire thing I am beginning with something much more simple, I will try to get some sha hashing functions from openssl imported (I will also need them, so it would not hurt to start with them). FPC comes with transl

Re: [fpc-pascal] how to test if a file is open to write?

2011-07-15 Thread Bernd
2011/7/15 Sven Barth : > Hmm... I don't know whether I understand your intension correctly, but do > you know about the unit "IOStream"? I know about streams and use all sorts of streams every day, but what i don't know very much about is the old pascal-ish way of handling files that I have not u

Re: [fpc-pascal] [semi-off-topic] some C questions arising while using h2pas

2011-07-15 Thread Sven Barth
Am 15.07.2011 13:43, schrieb Bernd: I am just trying to convert some openssl headers to Pascal (I know that there is an openssl unit in the fpc packages but it is missing the ECDSA functions which I will need later and which is main reason I am starting to look into openssl). To get used to this

Re: [fpc-pascal] [semi-off-topic] some C questions arising while using h2pas

2011-07-15 Thread ik
On Fri, Jul 15, 2011 at 14:43, Bernd wrote: > I am just trying to convert some openssl headers to Pascal (I know > that there is an openssl unit in the fpc packages but it is missing > the ECDSA functions which I will need later and which is main reason I > am starting to look into openssl). > >

Re: [fpc-pascal] how to test if a file is open to write?

2011-07-15 Thread Sven Barth
Am 15.07.2011 12:55, schrieb Bernd: 2011/7/15 Michael Müller: The subject indicates that you look for a solution for normal files but your example indicates that you what to detect the console. So I add my solutions for both. [...] This is helpful information! Normally I would try do do file

Re: [fpc-pascal] [semi-off-topic] some C questions arising while using h2pas

2011-07-15 Thread Jonas Maebe
On 15 Jul 2011, at 13:43, Bernd wrote: > To get used to this entire thing I am beginning with something much > more simple, I will try to get some sha hashing functions from openssl > imported (I will also need them, so it would not hurt to start with > them). FPC comes with translated openssl h

[fpc-pascal] [semi-off-topic] some C questions arising while using h2pas

2011-07-15 Thread Bernd
I am just trying to convert some openssl headers to Pascal (I know that there is an openssl unit in the fpc packages but it is missing the ECDSA functions which I will need later and which is main reason I am starting to look into openssl). To get used to this entire thing I am beginning with some

Re: [fpc-pascal] how to test if a file is open to write?

2011-07-15 Thread Bernd
2011/7/15 Michael Müller : > The subject indicates that you look for a solution for normal files but your > example indicates that you what to detect the console. So I add my solutions > for both. [...] This is helpful information! Normally I would try do do file IO with streams. Only the consol