i checked in my pc ubuntu Linux (Filesystem -> /dev/sdb1 )->this will be created when i insert my pendrive
so i used command
sudo mount /dev/sdb1 /media/usb
sudo mount /dev/sdb1 /media/usb
To copy to clipboard, switch view to plain text mode
sudo mount -o umask=0 /dev/sdb1 /media/usb
sudo mount -o umask=0 /dev/sdb1 /media/usb
To copy to clipboard, switch view to plain text mode
i checked both command in my terminal both command are mounted my pendrive,,but when i used this command by using Qprocess command not working and my pendrive not get mounted
my SCRIPTFILEPATH in home directory

Originally Posted by
ChrisW67
If SCRIPTFILEPATH is a relative path then the whole thing could be failing* because the current working directory is not where you think it is.
*your original post indicates that everything is working but I assume it is not.
Added after 1 18 minutes:
i have one more doubt in this when i use sudo in terminal it will ask password to execute the command like wise i assigned command in my script
sudo mount-o umask=0 /dev/sdb1 /media/usb
sudo mount-o umask=0 /dev/sdb1 /media/usb
To copy to clipboard, switch view to plain text mode
,,i need to pass the password in Qprocess how to assign my password using Qprocess,can any one help me o rectify this problem
Bookmarks