python执行系统命令后获取返回值的几种方式集合 第一种情况os.system('psaux')执行系统命令,没有返回值第二种情况result=os.popen('psaux')res=result.r 命令返回值