Found this function
But would need also to capture output from the shell output. Any code suggestion ?
CreateProcess the application redirecting its
StdOut to a pipe, then read that pipe directly; http://pastebin.com/CszKUpNS
dim resp as string resp = redirect("cmd","/c dir") resp = redirect("ipconfig","")