Oct-28-2016, 08:10 AM
Hello, i have the next umount function:
I keep have mounted the VirtualDVD folder (mounting point)
Why?
How to umount from python?
I want to run the command "gksudo umount VirtualDVD"
def umount(self): '''unmounts VirtualDVD''' cmd = 'gksudo umount VirtualDVD' proc = subprocess.Popen(str(cmd), shell=True, stdout=subprocess.PIPE).stdout.read() print proci get the gksudo and i input my password, but then the umount does nothing.
I keep have mounted the VirtualDVD folder (mounting point)
Why?
How to umount from python?
I want to run the command "gksudo umount VirtualDVD"