Skip to content

Commit 4ce4434

Browse files
committed
set FLASK_APP via env for portability across shells
this does not work on fish (https://fishshell.com): $ FLASK_APP=hello.py flask run while this works (hopefully) on any shell: $ env FLASK_APP=hello.py flask run
1 parent 54869a0 commit 4ce4434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ A Simple Example
3838
3939
.. code-block:: text
4040
41-
$ FLASK_APP=hello.py flask run
41+
$ env FLASK_APP=hello.py flask run
4242
* Serving Flask app "hello"
4343
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
4444

0 commit comments

Comments
 (0)