From: Graham Knop Date: Wed, 25 Dec 2013 18:11:22 +0000 (-0500) Subject: prevent startup scripts in cmd/powershell X-Git-Tag: v2.000_002~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e46466ba8a164b6b6b648d63791c23dae4aeb9ca;p=p5sagit%2Flocal-lib.git prevent startup scripts in cmd/powershell --- diff --git a/t/shell.t b/t/shell.t index a663a2d..5e05699 100644 --- a/t/shell.t +++ b/t/shell.t @@ -42,13 +42,13 @@ for my $shell ( }, { name => 'cmd', - opt => '/c', + opt => '/D /C', ext => 'bat', perl => qq{@"$^X"}, }, { name => 'powershell', - opt => '-ExecutionPolicy Unrestricted', + opt => '-NoProfile -ExecutionPolicy Unrestricted', ext => 'ps1', perl => qq{& '$^X'}, },