Add -terminate method so that an individual process can be killed using the Terminate tool.

This commit is contained in:
Richard Frith-Macdonald 2021-01-28 17:43:15 +00:00
parent ddf15e3626
commit 37461100dd

View file

@ -5803,6 +5803,13 @@ With two parameters ('maximum' and a number),\n\
return ([server multiple] == nil) ? NO : YES;
}
/* Allow the process to be terminated using the same API as Command server
*/
- (oneway void) terminate
{
[self ecQuitFor: @"external -terminate: requested" with: 0];
}
@end