ssCore.SysTools.killProcess

Kill a running process by providing its process id.


Availability:

First available in version 3.5 build 314.


Input Parameters:

processId - The id of the process you want to kill.

force - [Optional] - Forcibly terminate a process. Use this on hard to kill applications that don't like to be shut down.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.SysTools.killProcess( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.SysTools.killProcess( paramsObject );


Notes:

None.