From 9e06899162229429eed835c73b3244d4056d72fa Mon Sep 17 00:00:00 2001 From: Ruslan Baratov Date: Sun, 29 Oct 2017 21:54:14 +0300 Subject: [PATCH] Docs: Few notes for running Python script on Windows --- docs/creating-new/create/cmake.rst | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/creating-new/create/cmake.rst b/docs/creating-new/create/cmake.rst index 5d7429bb23..0e585dbd59 100644 --- a/docs/creating-new/create/cmake.rst +++ b/docs/creating-new/create/cmake.rst @@ -437,10 +437,39 @@ Go back to Hunter repository and run test: .. code-block:: none > cd hunter + [hunter]> which polly.py /.../bin/polly.py + + [hunter]> polly.py --help + Python version: 3.5 + usage: polly.py [-h] + ... + [hunter]> TOOLCHAIN=gcc PROJECT_DIR=examples/hunter_box_1 ./jenkins.py +On Windows: + +.. code-block:: none + + > cd hunter + + [hunter]> where polly.py + C:\...\bin\polly.py + + [hunter]> polly.py --help + Python version: 3.5 + usage: polly.py [-h] + ... + + [hunter]> set TOOLCHAIN=vs-12-2013 + [hunter]> set PROJECT_DIR=examples\hunter_box_1 + [hunter]> .\jenkins.py + +.. admonition:: Stackoverflow + + * `How to execute Python scripts in Windows? `__ + .. _ci testing: CI testing