Problem of Runtime.getRuntime().exec in UNIX

amaywy 2002-07-12 10:58:00
I use it in Unix
No error...and no result...

Runtime.getRuntime().exec("A/HRts -I RAIN_hypo1.m > test");

HRts is my own program before,and test is output

there is no test file appear in the directory

and there is no error report either...

faint la...

>_<

Runtime.getRuntime().exec("java RAIN_hypo1 1.out 2.out");
is ok and have correct result

...全文
39 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

62,628

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧