Class PilotCommand

java.lang.Object
com.seeq.utilities.process.PilotCommand

public class PilotCommand extends Object
Utility for creating processes to call Pilot commands, such as "seeq start" and "seeq diag". These can be run in production. If you need to run "sq" commands such as "sq run" during development or testing, use SQCommand.
  • Constructor Details

    • PilotCommand

      public PilotCommand()
  • Method Details

    • create

      public static ProcessSpawn create(String... commands)
      Parameters:
      commands - The commands to run, not including "seeq". For example, {"start"}, or {"diag" , "--verbose"}
      Returns:
      a ProcessSpawn object. You must still finish any configuration about capturing output, etc. and call ProcessSpawn.start() for the process to actually be created.