Commit 6727686
committed
The fix in #38706 was broken.
`lake exec` treats its first argument as a Lake target specifier, so it rejects absolute paths containing multiple slashes. `lake env <cmd>` sets up LEAN_PATH and other Lake environment variables for the current package, then execs the command directly — which is what we need.
Prepared with Claude code.
1 parent d65ebab commit 6727686
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
0 commit comments