Ruby调用shell下令

Ruby调用shell命令?原来发在diandian的几篇旧闻,也一并转到iteye上来吧。?1. exec? ? Runs a command in a

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.

?

?