在嵌入式python中拦截创建进程?

时间:2014-10-05 09:44:09

标签: python subprocess fork

我将在我的iOS应用程序中使用嵌入式python解释器。

是否有可能拦截像Popen这样的子进程调用?

proc = Popen(
        command,
        stdin=stdin,
        stdout=stdout,
        stderr=stderr,
        cwd=cwd)
out = proc.communicate()

在ios中禁止创建子进程,我想执行我的代码(比如转发我的静态库)。

0 个答案:

没有答案