Python3 subprocess call not working
import subprocess 
subprocess.call("sudo nautilus")
Python3 subprocess call not working
import subprocess 
subprocess.call("sudo nautilus")
 
    
    Try this one:
subprocess.call(["sudo", "nautilus"])
 
    
    Try setting shell=True, so:
subprocess.call("sudo nautilus",shell=True)
 
    
    You have to use the shell = true to make it work in the shell
 import subprocess 
 subprocess.call("sudo nautilus", shell=True)
OR u can output it a s a list
 subprocess.call(["sudo", "nautilus"])
