Do StartProcess | Start Processes via PowerShell

sushihangover edited this page Mar 29, 2012 · 2 revisions

Do-StartProcess.ps1

This script/function provides a wrapper to System.Diagnostics.Process and Added stdout as the return 'object', it will be returned as an array of strings

$ffprobe = "ffprobe.exe"

$probeCMDLine = ' -prefix -show_streams -i "' + $file.FullName + '"'

$stdOut = Do-StartProcess.ps1 $ffprobe $probeCMDLine

Complete posting about [System.Diagnostics.Process]@ http://sushihangover.blogspot.com/search?q=System.Diagnostics.Process