Jump to content

Sys2KillProcess: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Description==
Terminates the (first) running process with the specified executable name or process-ID.
Terminates the (first) running process with the specified executable name or process-ID.


==Arguments==
==Arguments==
REXX ARGUMENTS:
# The process identifier (program name or process ID) (REQUIRED)
  1. The process identifier (program name or process ID) (REQUIRED)
# Flag indicicating the identifier type:
  2. Flag indicicating the identifier type:
#:'P': decimal process ID
      'P': decimal process ID
#:'H': hexadecimal process ID
      'H': hexadecimal process ID
#:'N': executable program name (with or without extension) (DEFAULT)
      'N': executable program name (with or without extension) (DEFAULT)


REXX RETURN VALUE: 1 on success or 0 on failure.
==Return Value==
1 on success or 0 on failure.


[[Category:The OS/2 API Project]]
[[Category:RxUtilEx]]

Latest revision as of 06:13, 3 May 2020

Terminates the (first) running process with the specified executable name or process-ID.

Arguments

  1. The process identifier (program name or process ID) (REQUIRED)
  2. Flag indicicating the identifier type:
    'P': decimal process ID
    'H': hexadecimal process ID
    'N': executable program name (with or without extension) (DEFAULT)

Return Value

1 on success or 0 on failure.