summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
443e2c8)
perl crashes because the SystemRoot environment variable is missing.
sub run_perl {
my $code = shift;
sub run_perl {
my $code = shift;
+ my $SystemRoot = $ENV{SystemRoot};
+ $ENV{SystemRoot} = $SystemRoot if $^O eq 'MSWin32' and defined $SystemRoot;
+
system { $^X } $^X, '-T', map("-I$_", @INC), '-e', $code;
}
system { $^X } $^X, '-T', map("-I$_", @INC), '-e', $code;
}