projects
/
p5sagit/local-lib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
prevent startup scripts in cmd/powershell
[p5sagit/local-lib.git]
/
t
/
shell.t
diff --git
a/t/shell.t
b/t/shell.t
index
a663a2d
..
5e05699
100644
(file)
--- 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'},
},