Commit 8ccf8bf
Add guide section for per-command env and cwd options
Add comprehensive guide section showing how to use per-command environment
variables and working directory options. Updates troubleshooting to recommend
the cwd option as best practice.
Changes:
- New section on setting environment variables and working directory
- Examples showing env and cwd options individually and combined
- Clear explanation that values do not persist
- Updated troubleshooting to show cwd as best practice
Synced from cloudflare/sandbox-sdk PR #204
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 084eb8a commit 8ccf8bf
1 file changed
+44
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
136 | 172 | | |
137 | 173 | | |
138 | 174 | | |
| |||
158 | 194 | | |
159 | 195 | | |
160 | 196 | | |
161 | | - | |
| 197 | + | |
162 | 198 | | |
163 | 199 | | |
164 | 200 | | |
165 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
166 | 207 | | |
167 | 208 | | |
168 | | - | |
| 209 | + | |
169 | 210 | | |
170 | 211 | | |
171 | 212 | | |
| |||
0 commit comments