The goal of my script is to get input from a user for how much time they want before shutdown and also the message they want to appear during the shutdown process. My problem is I cannot figure out exactly how to put the variables into the shutdown command and have it execute properly.
import os
time = (input("How much time till shutdown?"))
message = input("What is your shutdown message?")
shutdown = "shutdown /f /r /t", time "c", message
os.system(shutdown)