Commit 642e51d
repl: mkdir temp folder before chdir to avoid startup failure (#26805)
* repl: mkdir temp folder before chdir to avoid startup failure
When the REPL temp directory () does not exist,
called before , so the
inside was never reached and the REPL exited with:
V repl error: Could not change the REPL working folder to ...': No such file or directory
Fix by calling before in .
Fixes #26804
* repl: error out if mkdir_all fails, per review feedback
---------
Co-authored-by: Richard Wheeler <18647491+PythonWillRule@users.noreply.github.com>1 parent 9ec0373 commit 642e51d
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
461 | 465 | | |
462 | 466 | | |
463 | 467 | | |
| |||
0 commit comments