diff --git a/lib/Core/Cmd.pm b/lib/Core/Cmd.pm index bc20524..8918997 100644 --- a/lib/Core/Cmd.pm +++ b/lib/Core/Cmd.pm @@ -186,10 +186,10 @@ sub cmd_restart # Time to come back from the dead! if ($Auto::DEBUG) { - system("$Auto::Bin/auto -d -nuc"); + exec "perl $Auto::Bin/auto -d -nuc"; } else { - system("$Auto::Bin/auto -nuc"); + exec "perl $Auto::Bin/auto -nuc"; } exit;