Generation

generate functionTue, 17 Jan 2023

cmd restart pc command windows 10

func restart() { let task = Process() task.launchPath = "/sbin/shutdown" task.arguments = ["-r", "now"] task.launch() } restart()

Want to kickstart your project?Use the new AI Studio to create your code