b*********n 发帖数: 1258 | 1 project有一部分是别人写的code,
我要把我的和别人的integrate起来
他用的是perl 或者c++, I'm not sure
他的程序是take an input flat file,
then write out an output file,
then, 我只要再读入他的output file 就可以了
他只给了我compile 之后的binary file
可以在linux下run, like this:
compliedFile arg1 arg2
我的程序是java的,不知道java可不可以run linux command?
以前用过perl插入linux command
高手给指点指点吧
谢谢 | g*****g 发帖数: 34805 | 2 sure, Runtime.getRuntime().exec("your command")
【在 b*********n 的大作中提到】 : project有一部分是别人写的code, : 我要把我的和别人的integrate起来 : 他用的是perl 或者c++, I'm not sure : 他的程序是take an input flat file, : then write out an output file, : then, 我只要再读入他的output file 就可以了 : 他只给了我compile 之后的binary file : 可以在linux下run, like this: : compliedFile arg1 arg2 : 我的程序是java的,不知道java可不可以run linux command?
| F****n 发帖数: 3271 | 3 Runtime.getRuntime().exec | b*********n 发帖数: 1258 | 4 谢谢!
【在 g*****g 的大作中提到】 : sure, Runtime.getRuntime().exec("your command")
|
|