The g_spawn_sync() function uses select() which has limitations
Submitted by Mark
Link to original bug (#739370)
Description
The g_spawn_sync() function uses select() which has limitations. The fd_set structure is limited to 1024 fileids. If the stdout or stderr fileid passed in are too large, bad things happen. This should be using poll().
Version: 2.40.x