process_kill_by_nameΒΆ

process_kill_by_name terminates a running process.

bRet =  process_kill_by_name(ssName)

Return Value

bRet is TRUE (1), if the process could be terminated and otherwise FALSE (0).

to TRUE (1).

Parameters

ssName

ssName is the name of a process, for exampel excel.exe.

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");

History

Version

Description

R2018.0

New.

id-1920341