[fpc-pascal]popen problems...
Martyn Ranyard
ranyardm at lineone.net
Wed Aug 14 15:52:39 CEST 2002
At 02:35 PM 8/14/02 +0100, I wrote:
> I am writing a menu program in FPC, gpl'd so I'm asking here for
> comments, as I don't quite understand why my calls are no longer working.
I am attaching the tail end of a strace command, because I don't understand
it very well. Is there some reason why read is creating an invalid seek?
pipe([3, 4]) = 0
fork() = 7669
close(4) = 0
fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(1, "An unhandled exception occurred "..., 48An unhandled exception
occurred at 0x08069D5F :
) = 48
write(1, "Unknown Run-Time error : 029\n", 29Unknown Run-Time error : 029
) = 29
write(1, " 0x08069D5F\n", 13 0x08069D5F
) = 13
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(1, " 0x08074E0F\n", 13 0x08074E0F
) = 13
write(1, " 0x080480B0\n", 13 0x080480B0
) = 13
write(1, "\n", 1
) = 1
_exit(217)
I hope someone can kindly enlighten me.
Martyn Ranyard
Free Software Advocate
jabber - joran at amessage.de
icq - 122500800
irc - Joran on oftc
msn - ranyardm at hotmail.com
e - ranyardm at lineone.net
More information about the fpc-pascal
mailing list