neurobooth_os.netcomm.start_server

neurobooth_os.netcomm.start_server(node_name, save_pid_txt=True)[source]

Makes a network call to run script serv_{node_name}.bat

First remote processes are logged, then a scheduled task is created to run the remote batch file, then task runs, and new python PIDs are captured with the option to save to save_pid_txt. If saved, when the function is called it will kill the PIDs in the file.

Parameters
node_namestr

PC node name defined in secrets_info.secrets

save_pid_txtbool

Option to save PID to file for killing PID in the future.

Returns
pidlist

Python process identifiers found in remote computer after server started.