r/pythonhelp • u/Foxy_Animations165 • Jan 15 '22
how do i do this?
when you run the command 'os.system("gnome-terminal -e 'sudo apt-get update'") is there any way to add more commands into the same terminal? thanks!
2
Upvotes
r/pythonhelp • u/Foxy_Animations165 • Jan 15 '22
when you run the command 'os.system("gnome-terminal -e 'sudo apt-get update'") is there any way to add more commands into the same terminal? thanks!
1
u/Goobyalus Jan 15 '22
Presumably
os.system("gnome-terminal -e 'sudo apt-get update; another command'")