3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-25 04:02:37 +01:00

README.md: improvements

This commit is contained in:
Pragmatic Software 2020-02-14 23:10:18 -08:00
parent 99ccfd945f
commit 0562cacc58

View File

@ -148,10 +148,10 @@ is addressed to a nick, the output will also be addressed to them.
#### Background processing #### Background processing
Any command can be flagged to be executed as a background process. For example, suppose you Any command can be flagged to be executed as a background process. For example, suppose you
make a Plugin that has a command that may potentially take a long time to complete, which could make a Plugin that has a command that may potentially take a long time to complete, which could
cause PBot to be non-responsive until the command completes... cause PBot to be non-responsive...
Not a problem! You can use the [`cmdset`](doc/Admin.md#cmdset) command to set the `execute-process` [command metadata](doc/Admin.md#command-metadata-list) Not a problem! You can use the [`cmdset`](doc/Admin.md#cmdset) command to set the `execute-process` [command metadata](doc/Admin.md#command-metadata-list)
and the command will now run as a background process, allowing PBot to carry on with its duties while the command runs. and the command will now run as a background process, allowing PBot to carry on with its duties.
The familiar [`ps`](doc/Admin.md#ps) and [`kill`](doc/Admin.md#kill) commands can be used to list and kill the background processes. The familiar [`ps`](doc/Admin.md#ps) and [`kill`](doc/Admin.md#kill) commands can be used to list and kill the background processes.