I have this server that's only jobs is to run this scientific Fortran code and send the results back to the client. I had an earlier issue where there was so much diagnostic messages and just plain ...
如以下代码, ProcessBuilder 执行echo -n '123 \n456' | cut -c2-3 会报Unmatched '. , 想问题以下大神有什么方法解决,谢谢。
import java.io.IOException; public class ProcessDemo { public static void main(String[] args) throws IOException { Process p = new ProcessBuilder("notepad.exe").start ...