Skip to content

Commit 730d776

Browse files
authored
Merge pull request #5574 from milesfrain/patch-1
Suggest using `stack exec` to create a subshell
2 parents 06684d9 + ed695fc commit 730d776

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/GUIDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,10 @@ Flags worth mentioning:
11571157
variable from being set. Some tools — notably cabal-install — do not behave
11581158
well with that variable set.
11591159
1160+
You may also find it convenient to use `stack exec` to launch a subshell (substitute `bash` with your preferred shell) where your compiled executable is available at the front of your `PATH`:
1161+
1162+
stack exec bash
1163+
11601164
## ghci (the repl)
11611165
11621166
GHCi is the interactive GHC environment, a.k.a. the REPL. You *could* access it

0 commit comments

Comments
 (0)