Makes Windows compatible command spec

Changes:

* Now `exec()` splits `command` string into a Hash.
* `command_spec.rb` is Windows compatible.
  * Test it please that I didn't brake anything on Linux.
  * Last two tests still don't run on Windows.