由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - java 里可以插入linux command吗? (转载)
相关主题
如何有效的用C/C++ 移动文件中的文本块?Design question: how to create installation package to cov
perl 问题关于perl和linux shell script的书最经典有哪些? (转载)
javascriptLinux下如何限制一个命令只能在登陆为指定用户下才能运行? (转载)
How to execute a shell command in java and display the output?问个perl的问题,谢谢了
请问, 有这样的perl module 吗perl eval and if
question about "popen" in C/C++请教各位先贤一个Perl 问题
java可以直接去读txt file里指定的一行吗?这个PERL表达式干啥的?
any thoughts about matlabRe: 学生物的真是藏龙卧虎阿 (转载)
相关话题的讨论汇总
话题: linux话题: command话题: java话题: 插入话题: file
进入Programming版参与讨论
1 (共1页)
b*********n
发帖数: 1258
1
【 以下文字转载自 Java 讨论区 】
发信人: babyfacenan (黑土), 信区: Java
标 题: java 里可以插入linux command吗?
发信站: BBS 未名空间站 (Mon Jul 7 20:56:16 2008)
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
高手给指点指点吧
谢谢
h*******e
发帖数: 225
2
很多种办法,比如Runtime.getRuntime().exec(xxx).

【在 b*********n 的大作中提到】
: 【 以下文字转载自 Java 讨论区 】
: 发信人: babyfacenan (黑土), 信区: Java
: 标 题: java 里可以插入linux command吗?
: 发信站: BBS 未名空间站 (Mon Jul 7 20:56:16 2008)
: project有一部分是别人写的code,
: 我要把我的和别人的integrate起来
: 他用的是perl 或者c++, I'm not sure
: 他的程序是take an input flat file,
: then write out an output file,
: then, 我只要再读入他的output file 就可以了

b*********n
发帖数: 1258
3
Got it. 谢谢!

【在 h*******e 的大作中提到】
: 很多种办法,比如Runtime.getRuntime().exec(xxx).
1 (共1页)
进入Programming版参与讨论
相关主题
Re: 学生物的真是藏龙卧虎阿 (转载)请问, 有这样的perl module 吗
请教perl的tainted和cgi::param()question about "popen" in C/C++
请推荐 perl 的IDEjava可以直接去读txt file里指定的一行吗?
请教Python问题any thoughts about matlab
如何有效的用C/C++ 移动文件中的文本块?Design question: how to create installation package to cov
perl 问题关于perl和linux shell script的书最经典有哪些? (转载)
javascriptLinux下如何限制一个命令只能在登陆为指定用户下才能运行? (转载)
How to execute a shell command in java and display the output?问个perl的问题,谢谢了
相关话题的讨论汇总
话题: linux话题: command话题: java话题: 插入话题: file