🌈 搜索
📅  最后修改于: 2022-03-11 14:46:56.308000             🧑  作者: Mango
sudoPassword = 'mypass' command = 'ls' p = os.system('echo %s|sudo -S %s' % (sudoPassword, command))