KALI Linux中GURB安装失败如何处理

您所在的位置:网站首页 manjaro无法安装启动加载器 KALI Linux中GURB安装失败如何处理

KALI Linux中GURB安装失败如何处理

#KALI Linux中GURB安装失败如何处理| 来源: 网络整理| 查看: 265

ffmpy3与ffmpeg的简单使用

misher20444: 还真是popen管道传递, ffmpy3底层就是这么干的。。。 [code=python] try: self.process = subprocess.Popen( self._cmd, stdin=subprocess.PIPE, stdout=stdout, stderr=stderr ) except OSError as e: if e.errno == errno.ENOENT: raise FFExecutableNotFoundError("Executable '{0}' not found".format(self.executable)) else: raise out = self.process.communicate(input=input_data) if self.process.returncode != 0: raise FFRuntimeError(self.cmd, self.process.returncode, out[0], out[1]) [/code] [code=python] self.process.stdin.write('q'.encode("GBK")) self.process.communicate() self.process.kill() [/code]



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3