Powershell script is now process in ExecCommand()
This commit is contained in:
parent
3cc0e75289
commit
0529b16387
1 changed files with 1 additions and 1 deletions
|
@ -593,7 +593,7 @@ function ExecCommand {
|
|||
$args = $params.arguments.Replace("##mod_path##", $script:current_module_path)
|
||||
Write-Host -NoNewline "`tExecute : $path : "
|
||||
$path = Invoke-Expression """$($path)"""
|
||||
if ( -not (Test-Path $path) -or -not $path -eq "powershell" ) {
|
||||
if ( -not (Test-Path $path) -and -not $path -eq "powershell" ) {
|
||||
Write-Host -ForegroundColor Yellow "File not found"
|
||||
return
|
||||
}
|
||||
|
|
Reference in a new issue