Tutorial: system.monitorExternalProcess

system.monitorExternalProcess

Monitors a running process.

Example

fin.desktop.System.monitorExternalProcess({
    pid: 2508,
    listener: function(result) {
        console.log('the exit code', result.exitCode);
    }
}, function (payload) {
    console.log("The process is now being monitored: ", payload.uuid);
}, function (error) {
    console.log("Error:", error);
});