Home > Back-end > For help! The redirection process problems about Java
For help! The redirection process problems about Java
Time:09-29
As title, this program no error and no output, but there is no problem in CMD, Don't know where is the problem, in asking you to help
CodePudding user response:
Try to wait for the process execution, namely, add P.w aitFor (); Then print the return values of p System. The out. Println (p.e xitValue ()); See if the child process to normal end?