Tutorial: system.releaseExternalProcess

system.releaseExternalProcess

Removes the process entry for the passed UUID obtained from a prior call of fin.desktop.System.launchExternalProcess().

Example

fin.desktop.System.launchExternalProcess("notepad", "", function (result) {
    console.log("Result UUID is " + result.uuid);

    //release it.
    fin.desktop.System.releaseExternalProcess(result.uuid, function () {
        console.log("Process has been unmapped!");
    }, function (reason) {
        console.log("failure: " + reason);
    });
});