Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.12.1
-
None
Description
Setting an env variable to, say QProcess exeB, is not available to another process started with exeB.startDetached. It is working fine with exeB.start.
1. Execute the attached sample.
2. out.txt file is generated via AnotherProcess having all the env variable.
3. Newly set variable "PYTHONHOME"= "NewVariable" is not listed in out.txt.
4. If process is started with exeB.start(), it works fine.
Attaching the source code for AnotherProcess for reference.