Skip to content

Commit 9ea8f09

Browse files
committed
Adding documentation for #7
1 parent b213e17 commit 9ea8f09

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/source/faq.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,15 @@ Create ``python.properties`` file in the ``<PROJECT_DIR>/env/default`` directory
4242

4343
PYTHONUNBUFFERED = 1
4444

45-
This should fix this issue.
45+
This should fix this issue.
46+
47+
Use different version of python while running specs
48+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49+
50+
By default the language runner uses ``python`` command to run specs. To change the default behaviour, add ``GAUGE_PYTHON_COMMAND`` property to the ``python.properties`` file in the ``<PROJECT_DIR>/env/default`` directory.
51+
52+
::
53+
54+
GAUGE_PYTHON_COMMAND = <python_command>
55+
GAUGE_PYTHON_COMMAND = python3
56+
GAUGE_PYTHON_COMMAND = python2

0 commit comments

Comments
 (0)