Merge "Duplicate the file descriptors for shellCommand" into main