Base class that handles the process of running commands which can be done executed from any other area of the system, typically done by the main runMemberJunctionCodeGen process

Constructors

Methods

Constructors

Methods

  • Parameters

    • command: {
          args: string[];
          command: string;
          timeout?: null | number;
          when: string;
          workingDirectory: string;
      }
      • args: string[]

        Command line arguments

      • command: string

        The command to execute

      • Optional timeout?: null | number

        Optional timeout in milliseconds

      • when: string

        When to run the command (e.g., 'before', 'after')

      • workingDirectory: string

        Working directory to run the command from

    Returns Promise<CommandExecutionResult>