cleanup() {
        this.spawnedCommand.kill();
        clearInterval(this.pollOutput);
        clearTimeout(this.fallbackTimeout);
    }
/**
     * Internal cleanup method to clean up timers and processes.
     */
Internal cleanup method to clean up timers and processes.
Internal cleanup method to clean up timers and processes .
cleanup() {
        this.spawnedCommand.kill();
        clearInterval(this.pollOutput);
        clearTimeout(this.fallbackTimeout);
    }
cleanup ( ) { this . spawnedCommand . kill ( ) ; clearInterval ( this . pollOutput ) ; clearTimeout ( this . fallbackTimeout ) ; }
Internal cleanup method to clean up timers and processes.
Internal cleanup method to clean up timers and processes .