skyphyr
15th March 2007, 18:29
Hi All,
I've got some code which launches a program with QProcess (http://sf.net/projects/splish)
The program run by QProcess does not have the same umask settings as my Qt application does. I grab the environment with QProcess::systemEnvironment();, but I guess this is only getting the environment variables. Any idea how I ensure umask settings survive - I only saw mention of how to set them in the QProcess docs, not how to leave them alone.
Cheers,
Alan.
I've got some code which launches a program with QProcess (http://sf.net/projects/splish)
The program run by QProcess does not have the same umask settings as my Qt application does. I grab the environment with QProcess::systemEnvironment();, but I guess this is only getting the environment variables. Any idea how I ensure umask settings survive - I only saw mention of how to set them in the QProcess docs, not how to leave them alone.
Cheers,
Alan.