Example #1
0
def start(*k, **kw):
    if api.is_running():
        if hasattr(api, "start"):
            api.start(*k)
        else:
            print("sc_start is not implemented")
    from usi import shell
    if shell.is_running():
        shell.stop()
Example #2
0
def start(*k, **kw):
  if api.is_running():
      if hasattr(api, "start"):
          api.start(*k)
      else:
          print("sc_start is not implemented")
  from usi import shell
  if shell.is_running():
      shell.stop()
Example #3
0
def stop(*k, **kw):
    if api.is_running():
        api.stop()
    from usi import shell
    if shell.is_running():
        shell.stop()
Example #4
0
def stop(*k, **kw):
  if api.is_running():
      api.stop()
  from usi import shell
  if shell.is_running():
      shell.stop()