예제 #1
0
def Start(args, log_file=None):
  pubsub_args = BuildStartArgs(
      util.BuildArgsList(args), platforms.OperatingSystem.Current())
  log.status.Print('Executing: {0}'.format(' '.join(pubsub_args)))
  return util.Exec(pubsub_args, log_file=log_file)
예제 #2
0
def Start(args):
    bigtable_args = BuildStartArgs(util.BuildArgsList(args))
    log.status.Print('Executing: {0}'.format(' '.join(bigtable_args)))
    with util.Exec(bigtable_args) as bigtable_process:
        util.WriteEnvYaml(GetEnv(args), GetDataDir())
        util.PrefixOutput(bigtable_process, BIGTABLE)