Sha256: dee974c6b76d766186aa8cf21183694286944c10e1abeec8d61c2830f7083b52
Contents?: true
Size: 547 Bytes
Versions: 14
Compression:
Stored size: 547 Bytes
Contents
$exitCode = -1 Set-ExecutionPolicy Unrestricted -force; Try { "running" | Out-File "<%= options[:chef_task_running] %>" $process = (Start-Process "<%= options[:chef_binary_path] %>" -ArgumentList "<%= options[:chef_arguments] %>" -NoNewWindow -PassThru -Wait -RedirectStandardOutput "<%= options[:chef_stdout_log] %>" -RedirectStandardError "<%= options[:chef_stderr_log] %>") $exitCode = $process.ExitCode } Finally { $exitCode | Out-File "<%= options[:chef_task_exitcode] %>" del "<%= options[:chef_task_running] %>" } exit $exitCode
Version data entries
14 entries across 14 versions & 2 rubygems