aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index dc37b49..e8c01d5 100644
--- a/README.md
+++ b/README.md
@@ -68,6 +68,23 @@ This allows you to set the prompt to whatever you want.
This test works with python >= 3.5.
+### Environement variables
+
+My test only gives the `PATH=minishell_test/bin` and `TERM=xterm-256color` variables to your minishell.
+**Please check that your project still work with those settings before messaging me on Slack or creating an issue**.
+
+You can test this quickly in a python script:
+
+```python
+import subprocess
+p = subprocess.run(
+ ["./minishell", "-c", "<INPUT>"],
+ capture_output=True,
+ env={"PATH": "minishell_test/bin", "TERM": "xterm-256color"}
+)
+print(p.stdout.decode())
+```
+
## Bonus
Their is 3 different method to enable the bonus tests: