in reply to Re: Restarting a Perl script on Windows 10
in thread Restarting a Perl script on Windows 10

For perl -V:sh I get
sh='cmd /x /c'
on both machines (Win10 and Win7).

Your suggestion with the system and exit calls works once, but if I try to restart the restarted instance of the program, I need to press the Enter key again :-(

Replies are listed 'Best First'.
Re^3: Restarting a Perl script on Windows 10
by Anonymous Monk on Sep 24, 2019 at 08:32 UTC
    Are you mouse clicking on the cmd window? Is your mouse double clicking? So you click restart and the double click clicks cmd thus entering quickedit mode?