Java 企业应用
不要温柔的走入那个良夜

python call shell

cmd=”sh ./customshell.sh ”

result = os.popen(cmd).read()

shell call python

和对待一个sh脚本没有差别

posted on 2012-08-18 11:04 cpegtop 阅读(268) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: