Ok here is a patch for Win32::Unicode::Process
sub execW { my $pi = Win32::Unicode::Process::_create_process(@_) or return 1; close_handle($pi->{thread_handle}); close_handle($pi->{process_handle}); exit 0; ## the end } sub _create_process { @_ or return; use Win32::ShellQuote(); my( $program ) = @_; my $commandline = utf8_to_utf16( Win32::ShellQuote::quote_system_s +tring( @_ ) ).NULL; return create_process( $program, $commandline ); }
In reply to Re^5: Restarting a Perl script on Windows 10
by Anonymous Monk
in thread Restarting a Perl script on Windows 10
by petro4213
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |