I tried using QProcess
to invoke an executable (Truecrypt, in this case) in Linux, but found no way to hide the Truecrypt window from popping up.
Invoking Truecrypt via the terminal in Ubuntu (even after sending the password via the commandline) causes the Truecrypt GUI to pop up when the volume is mounted, and even the folder mounted is shown.
I had managed to avoid making the GUI coming up in Windows by using CreateProcess()
in VC++ with CREATE_NO_WINDOW
, but can't seem to find a way to do it in Linux. Is there a command in Linux through which a user can invoke an external executable via C++ code, and prevent the executable from showing its GUI?