♻️ Refactor project structure by removing scattered Python test scripts

This commit is contained in:
2026-05-24 07:25:50 +08:00
parent b71ccc41b2
commit d65991aa9d
31 changed files with 0 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env python3
import subprocess
from pathlib import Path
if __name__ == "__main__":
with open("output.log", "w") as f:
process = subprocess.Popen(
["ls", "-l"],
# cwd="/tmp",
stdout=f,
stderr=f,
)
process.wait() # 等待进程结束
t = Path("output.log").read_text(encoding="utf-8")
print(t)