in reply to
How to re-execute self?
If you look at documentation for
system
, you'll see it doesn't return until the command finishes executing. It's definitely not what you want.
exec
instead of
system
+
die
should do the trick nicely.
Comment on
Re: How to re-execute self?
Select
or
Download
Code
In Section
Seekers of Perl Wisdom