Guest User

Untitled

a guest
Nov 16th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. arg_list = []
  2. arg_list.append('cmd one')
  3. os.system('ssh user@remote_server "python script.py %s"' % str(arg_list))
  4.  
  5. ['cmd one']
  6.  
  7. [cmd one]
Add Comment
Please, Sign In to add comment