Fixes issue with stdio:"inherit"

See #19