Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
passthru('python directory_read.py < 5'); passthru('python directory_read.py < 1');
第一行代码工作得很好,而第二行不工作?directory_read.py 还读取目录的内容,深度为 5 或 1,我尝试过 exec 和 system 命令。