TBD, any posibility to let sub.exe use stdin and stdout, instead of needing to save an intermediate file?