> How to read the information?
You can take a look at the wiki article Executing External Programs,
substituting Output property with StdErr. Or if you use FPC 2.7.1, you can
see how RunCommand*** functions are implemented. Same as above article,
subsitute Output with StdErr.
> Ist stderr equal w
Am Tuesday 05 March 2013 17:19:15 schrieb leledumbo:
> If the 2nd program is FPC program and is compiled with -gl, then upon crash
> StdErr will contain the runtime erorr information. 1st program can read
> that when the 2nd program dies.
How to read the information?
Ist stderr equal with /dev/std
If you execute with TProcess, it's in... err... StdErr property. Otherwise, I
have no idea. It would be dependant on how you execute...
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Get-error-information-tp5713366p5713399.html
Sent from the Free Pascal - Gene
Am Tuesday 05 March 2013 18:53:05 schrieb leledumbo:
> You'll get it if you do as I say (compile 2nd program with -gl, up to all
> units you want the error line information from)
Is sdterr equal with /dev/stderr in Linux?
___
fpc-pascal maillist - fpc-
Am Tuesday 05 March 2013 18:53:05 schrieb leledumbo:
> You'll get it if you do as I say (compile 2nd program with -gl, up to all
> units you want the error line information from)
>
Ok, sorry I misunderstood. I thought you ment the error number.
Thanks.
How can I access the information stderr conta
You'll get it if you do as I say (compile 2nd program with -gl, up to all
units you want the error line information from)
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Get-error-information-tp5713366p5713372.html
Sent from the Free Pascal - General mailing li
Am Tuesday 05 March 2013 17:19:15 schrieb leledumbo:
> If the 2nd program is FPC program and is compiled with -gl, then upon crash
> StdErr will contain the runtime erorr information. 1st program can read
> that when the 2nd program dies.
Yes, I know some kind of that, but I need the whole error m
If the 2nd program is FPC program and is compiled with -gl, then upon crash
StdErr will contain the runtime erorr information. 1st program can read that
when the 2nd program dies.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Get-error-information-tp5713366p5