Skip to content

Commit 4404c93

Browse files
committed
adjusting to powershell
1 parent 6df738a commit 4404c93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,11 @@ jobs:
152152
- checkout
153153
- run:
154154
name: disable antivirus
155-
shell: 'cmd.exe -Verb RunAs'
155+
shell: 'powershell.exe -ExecutionPolicy Bypass'
156156
privileged: true
157157
command: |
158-
sc stop WinDefend
159-
sc query WinDefend
158+
Set-MpPreference -DisableRealtimeMonitoring $true
159+
- run: sc query WinDefend
160160
- run:
161161
name: pip
162162
command: |

0 commit comments

Comments
 (0)