2024-09-28 22:09:57 发布
网友
当我通过fabric在远程计算机上运行以下命令时,它将被挂起。在
def execute_lmo_scripts(): print "preparing to execute lmo scripts................" output = run("sudo suwww ; ") # or this command sudo("suwww",shell=False)
如果我在远程服务器上手动运行该命令,它可能正在执行。 有谁能指导我解决这个问题吗?在
可能您正在使用run("sudo ..")而不是sudo(),sudo命令请求的输入没有被接收,所以它将永远等待。在
run("sudo ..")
sudo()
sudo
可能您正在使用
run("sudo ..")
而不是sudo()
,sudo
命令请求的输入没有被接收,所以它将永远等待。在相关问题 更多 >
编程相关推荐