stopposixtask
IDENTIFIER

The stopposixtask statement stops a POSIX shell script that is running in the background.


Parameters

This statement has one parameter:

identifier – specifies the shell script code to be stopped.


Description

This statement stops a POSIX shell script that is running in the background. The script must have been launched with either the posixtask statement or the posixtask( function. You must specify the identifier of the task to be stopped, like this:

stopposixtask "Library Catalog"

See posixtask and posixtask( for more detailed examples of how to stop a task.

Keep in mind that if there is no task with the specified identifier, the stopposixtask statement will throw an error. For example, this will happen if the task has already completed. To protect against this possibility you should use if error or try/catch (see Error Handling.


See Also


History

VersionStatusNotes
10.2NewNew in this version.