pod2usage(1) if $help;
-# as the IIS doesn't like output to STDERR keep it at STDOUT, otherwise the
-# server will return "Connection Interrupted"
-if ( $^O eq 'MSWin32' && exists($ENV{APP_POOL_ID}) ) {
- $keep_stderr = 1;
-}
-
[% name %]->run(
$listen,
{ nproc => $nproc,
my $restarter = $subclass->new(
%args,
start_sub => $runner,
+ argv => \@argv,
);
$restarter->run_and_watch;