Kill Utility Usage

Kill can be used to view or terminate an eRTOS process.

Usage

Kill

Kill pid [/showhidden]

Parameters

Kill (no parameters)

Display a list of IDs for all running eRTOS processes.

pid

PID of the process to terminate.

Return Value

If the process succeeds, it returns 0 (zero).

If the process fails, it returns the following:

Value Error Kill Message for eRTOS

1062

ERROR_SERVICE_NOT_ACTIVE

Kill was unable to stop the eRTOS application provided. The process was not running.

1051

ERROR_DEPENDENT_SERVICES_RUNNING

Kill was unable to stop the eRTOS application provided. The process was not running.

5

ERROR_ACCESS_DENIED

Kill is not being run with the prope permissions to complete the requested task.

87

ERROR_INVALID_PARAMETER

Kill was provided an invalid parameter. Use Kill /? for command-line usage information.

3

ERROR_PATH_NOT_FOUND

Kill was unable to find the path to the eRTOS application provided.

2

ERROR_FILE_NOT_FOUND

Kill was unable to find the eRTOS application provided.

111,122

ERROR_BUFFER_OVERFLOW ERROR_INSUFFICIENT_BUFFER

Kill was unable to stop the eRTOS application provided. An internal buffer overflow occured.

1610

ERROR_BAD_CONFIGURATION

Kill was unable to stop the eRTOS application provided. Subsystem configuration data was invalid.

167,231

ERROR_LOCK_FAILED ERROR_PIPE_BUSY

Kill was unable to stop the eRTOS application provided. Subsystem resources were unavailable.

8

ERROR_NOT_ENOUGH_MEMORY

Kill was unable to stop the eRTOS application provided. System memory resources were unavailable.

188

ERROR_INVALID_STARTING_CODESEG

Kill was unable to stop the eRTOS application provided. The binary file may be corrupted.

50

ERROR_NOT_SUPPORTED

Kill was unable to stop the eRTOS application provided. The functionality requested is unsupported under the current subsystem configuration.

 

Default error case (all others)

Kill was unable to stop the eRTOS application provided.

Related topics: