Tutorial: System.launchExternalProcess

System.launchExternalProcess

Runs an executable or batch file. If an unused uuid is provided in options, it will be used. If no uuid is provided, OpefinFin will assign a uuid.

Example

fin.System.launchExternalProcess({
    path: 'notepad',
    uuid: 'my-notepad', // optional
    arguments: '',
    listener: function (result) {
        console.log('the exit code', result.exitCode);
    }
}).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));