-
Notifications
You must be signed in to change notification settings - Fork 612
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sysutil): improve the implementation of Sysutil::put_in_backgroun…
…d on macOS (#4640) Replaces the system() call with posix_spawn() on macOS to preserve environment variables. This is essential for Debug builds using DYLD_IMAGE_SUFFIX=_debug to prevent Qt from loading mixed configurations. ## Tests Run the iv application in background mode on macOS without the -F flag, using a Debug configuration. Previously, the system() call did not inherit the parent environment variables, causing a mix of Debug and Release versions of Qt to be loaded. --------- Signed-off-by: Mikael Sundell <[email protected]>
- Loading branch information
1 parent
122e6ae
commit d87412f
Showing
3 changed files
with
38 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters