Constructors

Properties

defaultPrintToConsole: boolean = true

Controls whether by default, if the execution of commands should print the output to the console

Methods

  • Parameters

    • command: string
    • workingDir: string = "./"
    • printToConsole: boolean = ...
    • OptionaloutputFile: string | File
    • append: boolean = false
    • Optionaltimeout: number
    • timeunit: timeUnits = ...

    Returns undefined | string

    Can be undefined, null or the name of a file. If undefined, prints the output to the console; if null, does not print the output to the console; otherwise should be a string with the name of the file where the output will be written (in this case, no output is printed in the console).