- add windowsHide:true to spawn options so commands do not flash a console on Windows - extract buildLocalSpawnOptions helper shared by exec and execWithEnv - add regression coverage for the Windows console-window behavior