On 31May2019 21:51, Fc Zwtyds <fczwt...@gmail.com> wrote:
在 2019-05-30 6:41, Cameron Simpson 写道:
The you could just use os.system() to run the other commands, because the environment now has the necessary environment settings.
[...]

Under your guidance, the python code using ssh-agent ssh-add has been running successfully. In addition to the code you wrote to me, I also refer to man ssh-agent and subprocess: Subprocess management. I now know the importance of environment variables.

Excellent. I'm glad to hear it.

BTW, this program is for visit youtube.

I am curious, how do you use the ssh commands to access youtube? I though it was an HTTP only service.

Cheers,
Cameron Simpson <c...@cskk.id.au>
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to