Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default

Index

Constructors

Methods

Constructors

Methods

  • run(file: string, args?: string[], returnTags?: string[]): Promise<any>
  • Runs the specified python file.

    static
    async

    Parameters

    • file: string

      Path of the file to run

    • args: string[] = []

      Arguments to be passed when running the file.

    • returnTags: string[] = []

      Items to be returned

    Returns Promise<any>

    • Values returned by the function that correspond the the ones passed in returnTags
  • runInteractive(file: string, args?: string[], returnTags?: string[]): Promise<unknown>
  • Runs the specified python file. The person running this file can provide user input.

    static
    async

    Parameters

    • file: string

      Path of the file to run

    • args: string[] = []

      Arguments to be passed when running the file.

    • returnTags: string[] = []

      Items to be returned

    Returns Promise<unknown>

    • Values returned by the function that correspond the the ones passed in returnTags

Generated using TypeDoc