读书人

Ruby调用shell下令

发布时间: 2012-10-09 10:21:45 作者: rapoo

Ruby调用shell命令

?

原来发在diandian的几篇旧闻,也一并转到iteye上来吧。

?

1. exec

? ? Runs a command in a subprocess. Data written to stdin can be read by the subprocess, anddata written to standard output and standard error in the subprocess will be available on thestdout and stderr streams.

?

?

读书人网 >Ruby Rails

热点推荐