Suppress Windows Add-Type debug noise (#22722)
This commit is contained in:
parent
e3dfa62abc
commit
ffa4f0c427
1 changed files with 0 additions and 2 deletions
|
@ -314,7 +314,6 @@ Function Run($payload) {
|
|||
$username = $payload.become_user
|
||||
$password = $payload.become_password
|
||||
|
||||
Add-Type -TypeDefinition $helper_def
|
||||
Add-Type -TypeDefinition $helper_def -Debug:$false
|
||||
|
||||
$exec_args = $null
|
||||
|
@ -693,7 +692,6 @@ Function Run($payload) {
|
|||
|
||||
[System.IO.Directory]::CreateDirectory([System.IO.Path]::GetDirectoryName($results_path)) | Out-Null
|
||||
|
||||
Add-Type -TypeDefinition $native_process_util
|
||||
Add-Type -TypeDefinition $native_process_util -Debug:$false
|
||||
|
||||
# FUTURE: create under new job to ensure all children die on exit?
|
||||
|
|
Loading…
Reference in a new issue