well, when u run a command using QProcess, u pass the whole command as one argument ONLY.. so the right way to do it as u have done here:
Qt Code:
arguments << "-c" << "gksudo -- mount -o loop /media/100GB/test.iso /media/iso";To copy to clipboard, switch view to plain text mode
so if u wanna pass different arguments, at the end of the day u have add them to the command as ONE string




Reply With Quote
Bookmarks