Fixes issue with stdio:"inherit"