Does not seem to work.
Try with the redirect property of ProcessBuilder