最近看到一个错误:
https://stackoverflow.com/questions/79182504/argument-list-too-long-bin-sh-when-executing-free-h
这里提到了“Argument list too long”,对应的errno是7 E2BIG。
Trying to invoke free -h command via subprocess call from Python 3.8.16 at end of test session on almalinux v8.9 OS.def pytest_sessionfinish(session):cmd