July 5, 2020 at 3:59 am
#41424
Diego Pérez
Moderator
Hi Peter!
You are nor returning the result of subprocess module in your function:
def execute_system_command(command):
subprocess.check_output(command, shell=True)
You are just calling the module, so you need to return it’s output, if you don’t understand what I’m saying will recommend to watch the lecture again.
Let me know how it goes!
Diego