[MERGE] win32: use 'net' command for service start/stop operation
authorXavier ALT <xal@openerp.com>
Mon, 7 Jan 2013 17:48:46 +0000 (18:48 +0100)
committerXavier ALT <xal@openerp.com>
Mon, 7 Jan 2013 17:48:46 +0000 (18:48 +0100)
  * We have to wait for complete service stop before trying to re-start
    OpenERP service, otherwise service manager will complain that the
    service is already running - and thus preventing to it start.
      'sc' command only send a query to service manager without waiting
    for completion - instead we use 'net' command which wait for complete
    start/stop operation.

bzr revid: xal@openerp.com-20130107174846-745eqpvp2lhskspi


Trivial merge