aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-25 19:58:46 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-25 19:59:15 +0100
commitcaa8b47a9fbc8a2b5f1b6a105130699905243e8f (patch)
treea1e7cbb4d5bca2a1db6f377840990772fa154ecb /README.md
parentc0dee8d8943286e5e8788cc0cac4d4ce489327c8 (diff)
downloadminishell_test-caa8b47a9fbc8a2b5f1b6a105130699905243e8f.tar.gz
minishell_test-caa8b47a9fbc8a2b5f1b6a105130699905243e8f.tar.bz2
minishell_test-caa8b47a9fbc8a2b5f1b6a105130699905243e8f.zip
Added try script instead of it being in the README
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 3 insertions, 14 deletions
diff --git a/README.md b/README.md
index 4536d64..cba18df 100644
--- a/README.md
+++ b/README.md
@@ -70,20 +70,9 @@ 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())
-```
+My test only gives the `PATH=minishell_test/bin` and `TERM=xterm-256color` environment 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 with the [try](try) script (e.g `./try 'echo bonjour | cat -e'`).
## Bonus