acu176597 added :timeout option for default shell implementation
tested for Windows and Linux ruby 1.9+