Get the input and output Stream's of the process. Here, I'll refer you to the most cited article on the subject: When Runtime.exec() won't - JavaWorld Try those examples with the Input/Ouput streams