document new method 'prepend_local_path'
This commit is contained in:

committed by
holmberg556

parent
ec9e081399
commit
8d749ae0d9
@ -371,6 +371,12 @@ Helper functions
|
|||||||
the current directory inside the "work directory" at the time
|
the current directory inside the "work directory" at the time
|
||||||
of the call.
|
of the call.
|
||||||
|
|
||||||
|
``prepend_local_path(dir)``
|
||||||
|
Prepend the given directory to the ``PATH`` so commands executed via ``cmd``
|
||||||
|
are looked up using the modified ``PATH``. The argument ``dir`` is evaluated
|
||||||
|
relative to the current directory in effect at the time of the call
|
||||||
|
(i.e. typically the "work directory" during the test).
|
||||||
|
|
||||||
``prepend_path(dir)``
|
``prepend_path(dir)``
|
||||||
Prepend the given directory to the ``PATH`` so commands executed via ``cmd``
|
Prepend the given directory to the ``PATH`` so commands executed via ``cmd``
|
||||||
are looked up using the modified ``PATH``. A typical use is to add the directory
|
are looked up using the modified ``PATH``. A typical use is to add the directory
|
||||||
|
Reference in New Issue
Block a user