import commands
commands.getoutput('bash -i -c "history -r; history"')
python commands.getoutput 不支持history命令的问题
最新推荐文章于 2024-09-05 09:02:51 发布

import commands
commands.getoutput('bash -i -c "history -r; history"')