Python script not executing sysinternals command

后端 未结 1 487
臣服心动
臣服心动 2021-01-23 05:45

This is a follow-up from Invoke pstools in Python script

When I open a command prompt and execute

D:\\pstools\\psloggedon.exe -l -x \\\\10.10.10.10


        
相关标签:
1条回答
  • 2021-01-23 06:08

    As suggested by lejlot's comment you have to use "\\" because "\" is an escape character in python.

    0 讨论(0)
提交回复
热议问题