Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> python >> python3-procrunner
aramo  ]
[ 源代码: python-procrunner  ]

软件包: python3-procrunner (1.1.0-1)

Versatile utility function to run external processes from Python

Versatile utility function to run external processes from Python, with many features:

 * runs an external process and waits for it to finish
 * does not deadlock, no matter the process stdout/stderr output
   behaviour
 * returns the exit code, stdout, stderr (separately, both as
   bytestrings), and the total process runtime as a dictionary
 * process can run in a custom environment, either as a modification
   of the current environment or in a new environment from scratch
 * stdin can be fed to the process, the returned dictionary contains
   information how much was read by the process
 * stdout and stderr is printed by default, can be disabled
 * stdout and stderr can be passed to any arbitrary function for live
   processing (separately, both as unicode strings)
 * optionally enforces a time limit on the process

其他与 python3-procrunner 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-six
    Python 2 and 3 compatibility library (Python 3 interface)

下载 python3-procrunner

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 10.5 kB50 kB [文件列表]
arm64 10.5 kB50 kB [文件列表]
armhf 10.5 kB50 kB [文件列表]
ppc64el 10.5 kB50 kB [文件列表]