May-10-2024, 04:40 PM
So I'm trying to execute a simple command here it does run but I come up with errors
any help here would be appreciated
os.system("gnome-terminal -e 'sudo apt update'")
# Option “-e” is deprecated and might be removed in a later version of gnome-terminal. # Use “-- ” to terminate the options and put the command line to execute after it.If I do anything it says the program just doesn't work nothing happens I removed the E and it won't function I replaced the E with the two dashes and is still one function
any help here would be appreciated