(GH-509) Shimgen-waitforexit

- Runtime command passed to a shim to force the shim to override its default
behavior and wait on the target process to finish before returning (default is:
gui apps return and command line wait)
Merge branch 'stable'

* stable:
  (GH-509) Shimgen-waitforexit