projects
/
p5sagit/local-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
bee721f
)
prevent startup scripts in cmd/powershell
Graham Knop [Wed, 25 Dec 2013 18:11:22 +0000 (13:11 -0500)]
t/shell.t
patch
|
blob
|
blame
|
history
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'},
},