在 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.

See how you go.

Cheers,
Cameron Simpson <c...@cskk.id.au> (formerly c...@zip.com.au)

Hi,
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. This problem has puzzled me for nearly two weeks and solved this problem with your help. With your guidance and help, I have learned a lot. You are a very good teacher. You are my teacher.

BTW, this program is for visit youtube.

Cheers!

Thanks so much.

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to