Clarify docs that remote_control_script is a convenience wrapper for launch

This commit is contained in:
Kovid Goyal 2024-06-21 06:17:32 +05:30
parent 1a38b60463
commit df229dafa0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -287,10 +287,11 @@ If you wish to run a more complex script, you can use::
In this script you can use ``kitten @`` to run as many remote
control commands as you like and process their output.
:ac:`remote_control_script` is really just an alias for the
:ac:`remote_control_script` is similar to the
:ac:`launch` command with ``--type=background --allow-remote-control``.
For more advanced usage, including fine grained permissions, setting
env vars, etc. see the docs for the :doc:`launch <launch>` command.
env vars, command line interpolation, passing data to STDIN, etc.
the :doc:`launch <launch>` command should be used.
.. note:: You do not need :opt:`allow_remote_control` to use these mappings,
as they are not actual remote programs, but are simply a way to reuse the