总结一下ruby对shell命令的调用方式
a.systemu
a,stdout,stderr = systemu("python file")
print_status( stdout )
b.popen
handle = IO.popen("python file","r+")
#handle.puts "-version"
handle.close_write
while line = handle.gets
print_status( line )
end
c.` `
x = `python file`
print_status( x )
d.%x{ } =========未考证
x = %x{python file}
print_status( x )
e.system
system("python filef")
该命令的输出是true和false,表示命令的执行情况