Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Windows - have program replace itselfby sgifford (Prior) |
on Sep 27, 2004 at 16:31 UTC ( [id://394235]=note: print w/replies, xml ) | Need Help?? |
IIRC, the problem is that Windows won't let you overwrite or delete a running program; that's why upgrades of running programs often require a reboot. Assuming exec works properly on Windows, one possible workaround would be to launch a second script which would download the first script, then re-execute it:
In Section
Seekers of Perl Wisdom
|
|