.. highlightlang:: us .. index:: process_kill_by_name .. _process_kill_by_name: process_kill_by_name ====================== .. us.tag process_kill_by_name NOTREADYENGLISH Programming.os New6000 :ref:`process_kill_by_name` terminates a running process. .. function:: bRet = process_kill_by_name(ssName) .. us.return **Return Value** *bRet* is TRUE (1), if the process could be terminated and otherwise FALSE (0). to TRUE (1). .. us.params **Parameters** .. uparam:: ssName *ssName* is the name of a process, for exampel ``excel.exe``. .. us.example **Example** Start ``notepad.exe`` and **do not wait** until it is finished:: system("notepad", [. show_window = SW_SHOWMAXIMIZED, synchron = FALSE]); process_kill_by_name("notepad.exe"); .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2018.0 - New. .. seealso:: :ref:`overview-programming`, :ref:`process_get_names`, :ref:`system` :sub:`id-1920341`