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.e...@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@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to