jxa-types
    Preparing search index...

    Interface NSTask

    interface NSTask {
        arguments: (string | NSString)[];
        init: NSTask;
        js: object;
        launch: void;
        launchPath: string | NSString;
        standardError?: NSPipe;
        standardOutput?: NSPipe;
        terminationStatus: number;
        waitUntilExit: void;
        getProperty(key: string): any;
        isNil(): boolean;
        setProperty(key: string, value: any): any;
    }

    Hierarchy (View Summary)

    Index

    Properties

    arguments: (string | NSString)[]
    init: NSTask
    js: object
    launch: void
    launchPath: string | NSString
    standardError?: NSPipe
    standardOutput?: NSPipe
    terminationStatus: number
    waitUntilExit: void

    Methods

    • Parameters

      • key: string

      Returns any

    • Returns boolean

    • Parameters

      • key: string
      • value: any

      Returns any