fn switch<'a>(cmd: &'a str, name: &str) -> Option<&'a str>
--name=value → value. Chromium writes its switches in that form, and none of the values read here contain spaces.
--name=value
value