On Sun, 4 Oct 2015 12:37:29 +0100
Graeme Geldenhuys <mailingli...@geldenhuys.co.uk> wrote:

> On 2015-10-03 19:30, Bo Berglund wrote:
> > But how could one exchange a running program on the pi from within
> > itself?
> 
> On non-Windows platforms it is much easier, because you can normally
> replace a program on file, while it is running in memory. Windows
> doesn't allow that. Either way the solution is quite simple for most
> platforms.

That is not entirely true.

Replacing a running program by simply copying can result under Linux in
'text file busy'.

You can rename a running executable, allowing to copy a new
version. This works on Windows and Linux.

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to