Member Junction
    Preparing search index...

    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

    Index

    Constructors

    Methods

    • Parameters

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

          Command line arguments

        • command: string

          The command to execute

        • OptionalisDaemon?: boolean | null

          Marks a long-running service that never exits on its own (e.g. npm start).

          For these, reaching timeout without having crashed IS the pass — the command is a boot check and the timeout is the observation window. Exiting before the timeout is still a failure, because a service that comes down on its own crashed. Requires a positive timeout; without one the process would never be killed and CodeGen would wait forever.

        • Optionaltimeout?: number | null

          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>

      Use RunCommand.

    • Parameters

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

          Command line arguments

        • command: string

          The command to execute

        • OptionalisDaemon?: boolean | null

          Marks a long-running service that never exits on its own (e.g. npm start).

          For these, reaching timeout without having crashed IS the pass — the command is a boot check and the timeout is the observation window. Exiting before the timeout is still a failure, because a service that comes down on its own crashed. Requires a positive timeout; without one the process would never be killed and CodeGen would wait forever.

        • Optionaltimeout?: number | null

          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>

    • Parameters

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

          Command line arguments

        • command: string

          The command to execute

        • OptionalisDaemon?: boolean | null

          Marks a long-running service that never exits on its own (e.g. npm start).

          For these, reaching timeout without having crashed IS the pass — the command is a boot check and the timeout is the observation window. Exiting before the timeout is still a failure, because a service that comes down on its own crashed. Requires a positive timeout; without one the process would never be killed and CodeGen would wait forever.

        • Optionaltimeout?: number | null

          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[]>

      Use RunCommands.

    • Parameters

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

          Command line arguments

        • command: string

          The command to execute

        • OptionalisDaemon?: boolean | null

          Marks a long-running service that never exits on its own (e.g. npm start).

          For these, reaching timeout without having crashed IS the pass — the command is a boot check and the timeout is the observation window. Exiting before the timeout is still a failure, because a service that comes down on its own crashed. Requires a positive timeout; without one the process would never be killed and CodeGen would wait forever.

        • Optionaltimeout?: number | null

          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[]>