run different command to launch widget-preview per OS environment