Commit 60f18d0
fix: explicitly pass stdio to subprocess to avoid blocking
Fixes errno 35 (EAGAIN - Resource temporarily unavailable) by explicitly
passing stdin, stdout, stderr to subprocess.run(). This ensures proper I/O
handling and prevents resource blocking issues on all platforms.
Error was: 'ERROR: Failed to execute promptfoo: [Errno 35] Resource temporarily unavailable'
Co-Authored-By: Michael D'Angelo <michael@promptfoo.dev>1 parent 5247d98 commit 60f18d0
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
0 commit comments