change mediainfo from using spawn to using exec, but not work properly