forked from github/kensanata.oddmuse
Perl 5.26 no longer adds . to @INC
test.pl calls stuff/server.pl and needs to pass a qualified script (./wiki.pl instead of wiki.pl).
This commit is contained in:
@@ -384,7 +384,7 @@ sub start_server {
|
||||
} elsif ($pid == 0) {
|
||||
use Config;
|
||||
my $secure_perl_path = $Config{perlpath};
|
||||
exec($secure_perl_path, "stuff/server.pl", "wiki.pl", $port) or die "Cannot exec: $!";
|
||||
exec($secure_perl_path, "stuff/server.pl", "./wiki.pl", $port) or die "Cannot exec: $!";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user