How to use "p = r.exec("simon parameters# Java - 爪哇娇娃
w*l
1 楼
I want to use "exec()" to execute a command "simon
parameters.wradmon.13.10.dat > result.dat". The command "simon
parameters.wradmon.13.10.dat > result.dat" can be executed under command line
of unix, and I can get a file named " result.dat". However, when I use a line
in my program, I can't get the "result.dat". Moreover, when I just use "p =
r.exec("simon parameters.wradmon.13.10.dat ");", I also can not see the result
displaying on the screen. I used the "ps -u huwang" to monitor the subproce
parameters.wradmon.13.10.dat > result.dat". The command "simon
parameters.wradmon.13.10.dat > result.dat" can be executed under command line
of unix, and I can get a file named " result.dat". However, when I use a line
in my program, I can't get the "result.dat". Moreover, when I just use "p =
r.exec("simon parameters.wradmon.13.10.dat ");", I also can not see the result
displaying on the screen. I used the "ps -u huwang" to monitor the subproce