MCPcopy Create free account
hub / github.com/geekcomputers/Python / putty_sessions

Function putty_sessions

daily_checks.py:43–47  ·  view source on GitHub ↗
(conffilename)

Source from the content-addressed store, hash-verified

41
42
43def putty_sessions(conffilename): # Function to load the putty sessions I need
44 # Open the file server_list.txt, loop through reading each line
45 # 1.1 -Changed - 1.3 Changed name to use variable conffilename
46 for server in open(conffilename):
47 subprocess.Popen(("putty -load " + server)) # Open the PuTTY sessions - 1.1
48
49
50def rdp_sessions():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected