[fpc-pascal] xterm -e program-compiled-with-fpc2.4.0 doesn't work
Noah Silva
shiruba at galapagossoftware.com
Tue Feb 28 10:00:29 CET 2012
Hi Max,
I haven't used Shell(), and I am sure others can help you there. However,
I can think of at least two alternatives:
1. Use pexec() directly
2. Use TProcess or TUTF8Process.
Thank you,
Noah Silva
2012/2/28 max <m.euer at planet.nl>
> With the advent of Debian6 fpc 2.4.0-2 has become the only available
> version.
> Before that, it may have been 1.0 ?
> A simple program of mine compiled in 2008 with the old fpc , when started
> with xterm -e program still runs fine today.
> Now. the new compiler warns about SHELL function being deprecated and
> link.res containing output sections but finishes.
> Though the produced binary runs as expexted when run in an xterm, using the
> method of xterm -e program does not [ this is the method of starting the
> program through the X11 twm-menu, which should come up with a new
> xterm-window] : I only see a short flicker of an xterm-window then
> disapearing; there's no error message.
> Would anyone have an idea what's wrong?
>
> --
> View this message in context:
> http://free-pascal-general.1045716.n5.nabble.com/xterm-e-program-compiled-with-fpc2-4-0-doesn-t-work-tp5519778p5519778.html
> Sent from the Free Pascal - General mailing list archive at Nabble.com.
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120228/b7e90bd8/attachment.html>
More information about the fpc-pascal
mailing list